]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/server.cpp
Enable auto-redraw of the GLArea on GTK3
[xonotic/netradiant.git] / radiant / server.cpp
index 2a264e6dcd14ede2803c2ee7e3789f5dff3aa416..879770c5e341f169e656f41d30d2a15ee199b43d 100644 (file)
@@ -144,6 +144,12 @@ FunctionPointer findSymbol( const char* symbol ){
 
 #include <dlfcn.h>
 
+#if GDEF_OS_MACOS
+#ifndef RTLD_DEEPBIND
+#define RTLD_DEEPBIND 0
+#endif // RTLD_DEEPBIND
+#endif // GDEF_OS_MACOS
+
 class DynamicLibrary {
        void *m_library;
 public:
@@ -172,9 +178,9 @@ FunctionPointer findSymbol( const char* symbol ){
 }
 };
 
-#else
+#else // !GDEF_OS_POSIX
 #error "unsupported platform"
-#endif
+#endif // !GDEF_OS_POSIX
 
 class DynamicLibraryModule
 {