Merge pull request #461 from analogjupiter/despace

Fix tabs/space mixing in sdpy
This commit is contained in:
Adam D. Ruppe 2024-10-04 22:12:34 -04:00 committed by GitHub
commit 0fce8ff5e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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;