]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Fix compilation on OS X for RTLD_DEEPBIND.
authorJay Dolan <jay@jaydolan.com>
Sat, 6 May 2017 13:38:00 +0000 (09:38 -0400)
committerThomas Debesse <dev@illwieckz.net>
Sun, 19 May 2019 23:09:35 +0000 (01:09 +0200)
radiant/server.cpp

index 2a264e6dcd14ede2803c2ee7e3789f5dff3aa416..9bbdd9466a09162f9d94e211a998b4b887df4bbd 100644 (file)
@@ -144,6 +144,10 @@ FunctionPointer findSymbol( const char* symbol ){
 
 #include <dlfcn.h>
 
+#ifndef RTLD_DEEPBIND
+#define RTLD_DEEPBIND 0
+#endif
+
 class DynamicLibrary {
        void *m_library;
 public: