Browse Source

#if -> #ifdef change for HAVE_LIBDL (to be consistent with the same symbol

in libzend).
experimetnal/RETURN_REF_PATCH
Stig Bakken 26 years ago
parent
commit
0dd9658485
  1. 2
      ext/standard/config.h.stub
  2. 4
      ext/standard/dl.c
  3. 2
      ext/standard/dl.h

2
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

4
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)
{

2
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

Loading…
Cancel
Save