Fix tabs/space mixing in sdpy

This commit is contained in:
Elias Batek 2024-10-05 03:38:05 +02:00
parent fc4d833235
commit 379019c72e
1 changed files with 71 additions and 70 deletions

View File

@ -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;