cvs: /php4/ext/standard config.h.stub dl.c dl.h
| From: | Stig Bakken | Date: | Sat, 04 Dec 1999 20:56:04 +0000 |
| Subject: | cvs: /php4/ext/standard config.h.stub dl.c dl.h | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7420@lists.php.net to get a copy of this message | ||
ssb Sat Dec 4 15:56:04 1999 EDT
Modified files:
/php4/ext/standard config.h.stub dl.c dl.h
Log:
#if -> #ifdef change for HAVE_LIBDL (to be consistent with the same symbol
in libzend).
Index: php4/ext/standard/config.h.stub
diff -u php4/ext/standard/config.h.stub:1.3 php4/ext/standard/config.h.stub:1.4
--- php4/ext/standard/config.h.stub:1.3 Wed Oct 20 12:17:30 1999
+++ php4/ext/standard/config.h.stub Sat Dec 4 15:55:33 1999
@@ -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: php4/ext/standard/dl.c
diff -u php4/ext/standard/dl.c:1.15 php4/ext/standard/dl.c:1.16
--- php4/ext/standard/dl.c:1.15 Fri Nov 26 08:56:33 1999
+++ php4/ext/standard/dl.c Sat Dec 4 15:55:33 1999
@@ -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 @@
/* }}} */
-#if HAVE_LIBDL
+#ifdef HAVE_LIBDL
void php_dl(pval *file,int type,pval *return_value)
{
Index: php4/ext/standard/dl.h
diff -u php4/ext/standard/dl.h:1.6 php4/ext/standard/dl.h:1.7
--- php4/ext/standard/dl.h:1.6 Wed Oct 13 15:55:25 1999
+++ php4/ext/standard/dl.h Sat Dec 4 15:55:33 1999
@@ -30,7 +30,7 @@
*/
-/* $Id: dl.h,v 1.6 1999/10/13 19:55:25 thies Exp $ */
+/* $Id: dl.h,v 1.7 1999/12/04 20:55:33 ssb Exp $ */
#ifndef _DL_H
#define _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