mirror of https://github.com/adamdruppe/arsd.git
Fix tabs/space mixing in sdpy
This commit is contained in:
parent
fc4d833235
commit
379019c72e
|
@ -23141,9 +23141,10 @@ private mixin template DynamicLoad(Iface, string library, int majorVersion, alia
|
||||||
libHandle = dlopen(library ~ ".dylib", RTLD_NOW);
|
libHandle = dlopen(library ~ ".dylib", RTLD_NOW);
|
||||||
} else {
|
} else {
|
||||||
libHandle = dlopen("lib" ~ library ~ ".so", RTLD_NOW);
|
libHandle = dlopen("lib" ~ library ~ ".so", RTLD_NOW);
|
||||||
if(libHandle is null)
|
if(libHandle is null) {
|
||||||
libHandle = dlopen(("lib" ~ library ~ ".so." ~ toInternal!string(majorVersion) ~ "\0").ptr, RTLD_NOW);
|
libHandle = dlopen(("lib" ~ library ~ ".so." ~ toInternal!string(majorVersion) ~ "\0").ptr, RTLD_NOW);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
static void* loadsym(void* l, const char* name) {
|
static void* loadsym(void* l, const char* name) {
|
||||||
import core.stdc.stdlib;
|
import core.stdc.stdlib;
|
||||||
|
|
Loading…
Reference in New Issue