From 0dd9658485105175d90d2afb1ef916e33eefa4fa Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Sat, 4 Dec 1999 20:55:33 +0000 Subject: [PATCH] #if -> #ifdef change for HAVE_LIBDL (to be consistent with the same symbol in libzend). --- ext/standard/config.h.stub | 2 +- ext/standard/dl.c | 4 ++-- ext/standard/dl.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/standard/config.h.stub b/ext/standard/config.h.stub index 6e29dd4810..6021062968 100644 --- a/ext/standard/config.h.stub +++ b/ext/standard/config.h.stub @@ -11,7 +11,7 @@ #undef PHP3_BLOWFISH_CRYPT /* Define if you have libdl (used for dynamic linking) */ -#define HAVE_LIBDL 0 +#undef HAVE_LIBDL #undef HAVE_GETWD #undef HAVE_GETCWD diff --git a/ext/standard/dl.c b/ext/standard/dl.c index f915a9cbea..e113249fd1 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -22,7 +22,7 @@ #include "dl.h" #include "php_globals.h" -#if HAVE_LIBDL +#ifdef HAVE_LIBDL #include #include #ifndef RTLD_LAZY @@ -78,7 +78,7 @@ void dl(INTERNAL_FUNCTION_PARAMETERS) /* }}} */ -#if HAVE_LIBDL +#ifdef HAVE_LIBDL void php_dl(pval *file,int type,pval *return_value) { diff --git a/ext/standard/dl.h b/ext/standard/dl.h index 58a969b1c2..6bf453d23e 100644 --- a/ext/standard/dl.h +++ b/ext/standard/dl.h @@ -38,7 +38,7 @@ void php_dl(pval *file,int type,pval *return_value); -#if HAVE_LIBDL +#ifdef HAVE_LIBDL extern php3_module_entry dl_module_entry; #define dl_module_ptr &dl_module_entry -- 2.40.0