]> granicus.if.org Git - php/commitdiff
#if -> #ifdef change for HAVE_LIBDL (to be consistent with the same symbol
authorStig Bakken <ssb@php.net>
Sat, 4 Dec 1999 20:55:33 +0000 (20:55 +0000)
committerStig Bakken <ssb@php.net>
Sat, 4 Dec 1999 20:55:33 +0000 (20:55 +0000)
in libzend).

ext/standard/config.h.stub
ext/standard/dl.c
ext/standard/dl.h

index 6e29dd4810ee6aa00539541a878e0c7d4d6990d6..602106296802df439ebb623f542f9a5894a2ae48 100644 (file)
@@ -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
index f915a9cbea8d7ad1f9a3888d385011b94ccf9ce5..e113249fd10d3456cc76aad1db3df1d45648dae0 100644 (file)
@@ -22,7 +22,7 @@
 #include "dl.h"
 #include "php_globals.h"
 
-#if HAVE_LIBDL
+#ifdef HAVE_LIBDL
 #include <stdlib.h>
 #include <stdio.h>
 #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)
 {
index 58a969b1c22f6af677650028af1339389cb28e78..6bf453d23e000046e9ab4fe2a90ca91e72ace607 100644 (file)
@@ -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