summaryrefslogtreecommitdiff
path: root/dln.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-02 10:37:09 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-02-02 10:37:09 +0000
commit18afa51bd2d75201d0f31a01f3a525e9acbbc6a7 (patch)
treeb8c4f73705bc88223e92d52785cc5d3671ad97d4 /dln.c
parentb263b07491719434c45a01fe189675db9a505b50 (diff)
* configure.in: backport from 1.9 for Interix.
* dln.c (dln_load): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 1dd80c2fe6..8660e9a5ee 100644
--- a/dln.c
+++ b/dln.c
@@ -1318,6 +1318,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