From 1df149ec1a73ed4f9e518966fb8a31b390c22c6c Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 9 Oct 1999 18:03:23 +0000 Subject: [PATCH] Define RTLD_NOW to DL_NOW, if RTLD_NOW is not defined (for OpenBSD). --- Zend/acconfig.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Zend/acconfig.h b/Zend/acconfig.h index 97f2e23cdbd..a0df689fd0f 100644 --- a/Zend/acconfig.h +++ b/Zend/acconfig.h @@ -64,6 +64,9 @@ # ifdef HAVE_DLFCN_H # include # endif +# if !defined(RTLD_NOW) && defined(DL_NOW) +# define RTLD_NOW DL_NOW +# endif # define DL_LOAD(libname) dlopen(libname, RTLD_NOW) # define DL_UNLOAD dlclose # define DL_FETCH_SYMBOL dlsym