diff options
author | Scott MacVicar <scottmac@php.net> | 2009-08-06 01:33:54 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2009-08-06 01:33:54 +0000 |
commit | c54f6df9788d76d7eaa9615622b5f8fa0e4caf41 (patch) | |
tree | c3a099c3fd51b61d574d0e92f7b1e57d7f4af82a /ext/standard/dl.c | |
parent | af5df4c813bd32d58ed4510a4cb0da2f516e5a5d (diff) | |
download | php-git-c54f6df9788d76d7eaa9615622b5f8fa0e4caf41.tar.gz |
Fix bug #48575 - Use dlopen() just like all the other *nixes instead of OSX specific code.
Diffstat (limited to 'ext/standard/dl.c')
-rw-r--r-- | ext/standard/dl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c index bee68baada..5119bf4163 100644 --- a/ext/standard/dl.c +++ b/ext/standard/dl.c @@ -28,7 +28,7 @@ #include "SAPI.h" -#if defined(HAVE_LIBDL) || HAVE_MACH_O_DYLD_H +#if defined(HAVE_LIBDL) #include <stdlib.h> #include <stdio.h> #ifdef HAVE_STRING_H @@ -47,7 +47,7 @@ #include <sys/param.h> #define GET_DL_ERROR() DL_ERROR() #endif -#endif /* defined(HAVE_LIBDL) || HAVE_MACH_O_DYLD_H */ +#endif /* defined(HAVE_LIBDL) */ /* {{{ proto int dl(string extension_filename) Load a PHP extension at runtime */ @@ -92,7 +92,7 @@ PHPAPI PHP_FUNCTION(dl) } /* }}} */ -#if defined(HAVE_LIBDL) || HAVE_MACH_O_DYLD_H +#if defined(HAVE_LIBDL) #ifdef ZTS #define USING_ZTS 1 |