Added check for undefined RTLD_GLOBAL
authorVictor Kirhenshtein <victor@netxms.org>
Fri, 21 Jul 2006 16:25:31 +0000 (16:25 +0000)
committerVictor Kirhenshtein <victor@netxms.org>
Fri, 21 Jul 2006 16:25:31 +0000 (16:25 +0000)
src/libnetxms/dload.cpp

index b03d7d2..29afacd 100644 (file)
@@ -27,6 +27,9 @@
 #include <netware.h>
 #elif !defined(_WIN32)
 #include <dlfcn.h>
+#ifndef RTLD_GLOBAL
+#define RTLD_GLOBAL    0
+#endif
 #endif