aboutsummaryrefslogtreecommitdiffstats
path: root/dln.c
diff options
context:
space:
mode:
Diffstat (limited to 'dln.c')
-rw-r--r--dln.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/dln.c b/dln.c
index 67ca195f60..76f0743358 100644
--- a/dln.c
+++ b/dln.c
@@ -1313,6 +1313,9 @@ dln_load(file)
#ifndef RTLD_LAZY
# define RTLD_LAZY 1
#endif
+#ifdef __INTERIX
+# undef RTLD_GLOBAL
+#endif
#ifndef RTLD_GLOBAL
# define RTLD_GLOBAL 0
#endif