summaryrefslogtreecommitdiff
path: root/ext/xml/xml.c
diff options
context:
space:
mode:
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 */