[dovecot-cvs] dovecot/src/lib module-dir.c,1.1,1.2
cras at procontrol.fi
cras at procontrol.fi
Fri May 30 05:02:08 EEST 2003
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv3335
Modified Files:
module-dir.c
Log Message:
All systems don't define RTLD_GLOBAL and RTLD_NOW. Default them to 0.
Index: module-dir.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/module-dir.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- module-dir.c 14 May 2003 18:23:40 -0000 1.1
+++ module-dir.c 30 May 2003 01:02:06 -0000 1.2
@@ -9,6 +9,14 @@
#include <dirent.h>
#include <dlfcn.h>
+#ifndef RTLD_GLOBAL
+# define RTLD_GLOBAL 0
+#endif
+
+#ifndef RTLD_NOW
+# define RTLD_NOW 0
+#endif
+
static void *get_symbol(const char *path, void *handle, const char *symbol)
{
const char *error;
More information about the dovecot-cvs
mailing list