summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>1999-12-04 14:45:38 +0000
committerStig Bakken <ssb@php.net>1999-12-04 14:45:38 +0000
commit8f91051ddaff61f7b8e0940f79e50a83ba6a3329 (patch)
tree396367d49c7a47011c7d3a55830ae58c3fcf6d47 /ext/xml/xml.c
parentefc84af94003531f2e670cdc754b0c455656198c (diff)
downloadphp-git-8f91051ddaff61f7b8e0940f79e50a83ba6a3329.tar.gz
Fix shared mode for gd/xml/mysql extensions.
Diffstat (limited to 'ext/xml/xml.c')
-rw-r--r--ext/xml/xml.c8
1 files changed, 3 insertions, 5 deletions
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 */