From: Sascha Schumann Date: Tue, 12 Oct 1999 14:48:32 +0000 (+0000) Subject: Use DL_LAZY for OpenBSD. This seems to be a compatibility flag which X-Git-Tag: php-4.0b3_RC2~198 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fc480834372dfc1834f30c112b25a37f3a0cad06;p=php 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 --- 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