only apply mac fix on macos 112/head
authorThomas Debesse <dev@illwieckz.net>
Sun, 19 May 2019 23:11:31 +0000 (01:11 +0200)
committerThomas Debesse <dev@illwieckz.net>
Sun, 19 May 2019 23:11:31 +0000 (01:11 +0200)
radiant/server.cpp

index 9bbdd94..c9e0778 100644 (file)
@@ -144,9 +144,11 @@ FunctionPointer findSymbol( const char* symbol ){
 
 #include <dlfcn.h>
 
+#if GDEF_OS_MACOS
 #ifndef RTLD_DEEPBIND
 #define RTLD_DEEPBIND 0
-#endif
+#endif // RTLD_DEEPBIND
+#endif // GDEF_OS_MACOS
 
 class DynamicLibrary {
        void *m_library;