summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorAnantha Kesari H Y <hyanantha@php.net>2004-09-24 15:40:22 +0000
committerAnantha Kesari H Y <hyanantha@php.net>2004-09-24 15:40:22 +0000
commitb82a18c8dae64dc66ae309de975652546b22f755 (patch)
tree67c70e249bc6a8574be208d32c808a88bd99d684 /Zend/zend_API.c
parentaeab5f8723818bd68034ba680d6c4ccc6909519b (diff)
downloadphp-git-b82a18c8dae64dc66ae309de975652546b22f755.tar.gz
selectively avoiding module cleanup code for apache 1 build and removing a duplicate code
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 3a9cabd840..01d6d49f07 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -1498,13 +1498,7 @@ void module_destructor(zend_module_entry *module)
}
#if HAVE_LIBDL
-#ifdef NETWARE
-#ifdef APACHE_2_BUILD
- if (module->handle) {
- dlclose(module->handle);
- }
-#endif
-#else
+#if !(defined(NETWARE) && defined(APACHE_1_BUILD))
if (module->handle) {
dlclose(module->handle);
}