summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-10-12 14:48:32 +0000
committerSascha Schumann <sas@php.net>1999-10-12 14:48:32 +0000
commitfc480834372dfc1834f30c112b25a37f3a0cad06 (patch)
treeca20a19a80c38f39ca92fef6b04e75ed978e8d5a /Zend
parentd6feb3c1d218df455c021091386477b330fbd055 (diff)
downloadphp-git-fc480834372dfc1834f30c112b25a37f3a0cad06.tar.gz
Use DL_LAZY for OpenBSD. This seems to be a compatibility flag which
should be used for the 2nd parameter to dlopen. http://www.openbsd.org/cgi-bin/cvsweb/src/share/man/man3/dlfcn.3?rev=1.8
Diffstat (limited to 'Zend')
-rw-r--r--Zend/acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/acconfig.h b/Zend/acconfig.h
index a0df689fd0..e27c6d3adf 100644
--- a/Zend/acconfig.h
+++ b/Zend/acconfig.h
@@ -67,6 +67,9 @@
# if !defined(RTLD_NOW) && defined(DL_NOW)
# define RTLD_NOW DL_NOW
# endif
+# if !defined(RTLD_NOW) && defined(DL_LAZY)
+# define RTLD_NOW DL_LAZY
+# endif
# define DL_LOAD(libname) dlopen(libname, RTLD_NOW)
# define DL_UNLOAD dlclose
# define DL_FETCH_SYMBOL dlsym