summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-09-30 04:53:49 -0400
committerAdam <Adam@anope.org>2012-09-30 20:30:27 -0400
commit0ea5e57298ebee900f30b1440499e41a7606c550 (patch)
tree9b250867f90d12d7733c06c1046e0eec9b4e4d21 /src/win32
parent3838eb1f056b5b4272be7a6a32302fc419569bbc (diff)
Use RTLD_NOW when loading modules to resolve all symbols immediately.
This prevents modules with unresolved symbols from loading instead of loading and crashing later.
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/dl/dl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/dl/dl.h b/src/win32/dl/dl.h
index 816474039..a22b0c644 100644
--- a/src/win32/dl/dl.h
+++ b/src/win32/dl/dl.h
@@ -5,7 +5,7 @@
* Please read COPYING and README for further details.
*/
-#define RTLD_LAZY 0
+#define RTLD_NOW 0
extern void *dlopen(const char *filename, int);
extern char *dlerror(void);