summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-12-04 20:55:33 +0000
committerStig Bakken <ssb@php.net>1999-12-04 20:55:33 +0000
commit0dd9658485105175d90d2afb1ef916e33eefa4fa (patch)
treece21d1ab31b5661cb341eddc95eb0fc206898445 /ext
parent68aa4997e3cef19c253ad8d486357f9295df3c19 (diff)
downloadphp-git-0dd9658485105175d90d2afb1ef916e33eefa4fa.tar.gz
#if -> #ifdef change for HAVE_LIBDL (to be consistent with the same symbol
in libzend).
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/config.h.stub2
-rw-r--r--ext/standard/dl.c4
-rw-r--r--ext/standard/dl.h2
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 <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)
{
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