From 8f91051ddaff61f7b8e0940f79e50a83ba6a3329 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Sat, 4 Dec 1999 14:45:38 +0000 Subject: Fix shared mode for gd/xml/mysql extensions. --- ext/xml/xml.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'ext/xml/xml.c') diff --git a/ext/xml/xml.c b/ext/xml/xml.c index 4afbf30f3e..22ad953804 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -20,9 +20,6 @@ /* $Id$ */ #define IS_EXT_MODULE -#if COMPILE_DL -# include "dl/phpdl.h" -#endif #include "php.h" #include "php3_xml.h" #include "zend_variables.h" @@ -59,9 +56,10 @@ PHP_XML_API php_xml_globals xml_globals; /* {{{ dynamically loadable module stuff */ -# if COMPILE_DL +#ifdef COMPILE_DL_XML +# include "dl/phpdl.h" DLEXPORT zend_module_entry *get_module(void) { return &xml_module_entry; } -# endif /* COMPILE_DL */ +#endif /* COMPILE_DL_XML */ /* }}} */ /* {{{ function prototypes */ -- cgit v1.2.1