]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
only apply mac fix on macos
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 9bbdd9466a09162f9d94e211a998b4b887df4bbd..c9e0778035cc4439b44aa3deeaa1287401b11e0f 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;