summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2005-01-10 21:57:30 +0000
committerRasmus Lerdorf <rasmus@php.net>2005-01-10 21:57:30 +0000
commit2a3ca10a61673cf25041e35cd5e790d08c754974 (patch)
tree8760e8ae2718b2c0618a2f54cdc4d5d6c200a85b /Zend/zend_API.c
parent60744233300ca9a07cb25cc6d2b1425048a1597f (diff)
downloadphp-git-2a3ca10a61673cf25041e35cd5e790d08c754974.tar.gz
Fix OSX DL_UNLOAD macro and actually use it to make shared extensions
work on OSX.
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 7e25ef2857..eb7fb007fb 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1523,7 +1523,7 @@ void module_destructor(zend_module_entry *module)
#if HAVE_LIBDL
#if !(defined(NETWARE) && defined(APACHE_1_BUILD))
if (module->handle) {
- dlclose(module->handle);
+ DL_UNLOAD(module->handle);
}
#endif
#endif