andi Fri Jan 14 19:11:21 2005 EDT
Modified files:
/ZendEngine2 zend_API.c
Log:
- Unload on MAC OS X (shouldn't be a reason not to)
http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.270&r2=1.271&ty=u
Index: ZendEngine2/zend_API.c
diff -u ZendEngine2/zend_API.c:1.270 ZendEngine2/zend_API.c:1.271
--- ZendEngine2/zend_API.c:1.270 Mon Jan 10 16:57:30 2005
+++ ZendEngine2/zend_API.c Fri Jan 14 19:11:20 2005
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_API.c,v 1.270 2005/01/10 21:57:30 rasmus Exp $ */
+/* $Id: zend_API.c,v 1.271 2005/01/15 00:11:20 andi Exp $ */
#include "zend.h"
#include "zend_execute.h"
@@ -1520,7 +1520,7 @@
zend_unregister_functions(module->functions, -1, NULL
TSRMLS_CC);
}
-#if HAVE_LIBDL
+#if HAVE_LIBDL || defined(HAVE_MACH_O_DYLD_H)
#if !(defined(NETWARE) && defined(APACHE_1_BUILD))
if (module->handle) {
DL_UNLOAD(module->handle);
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|