From 4434c8e0d66cbb615c1d8dc424ec04aeb06fd8b1 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Wed, 25 Jun 2003 21:37:50 +0000 Subject: Add ext/dom and ext/simplexml to the Win32 default build. #Apart from a linker error when HAVE_SIMPLEXML=1 is set this already works. More research, after a good night's sleep, is required ;-) --- main/internal_functions_win32.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'main/internal_functions_win32.c') diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c index e0f96a6dfc..8baedc7167 100644 --- a/main/internal_functions_win32.c +++ b/main/internal_functions_win32.c @@ -71,12 +71,6 @@ #if HAVE_SESSION #include "ext/session/php_session.h" #endif -#if HAVE_XML -#include "ext/xml/php_xml.h" -#endif -#if HAVE_XML && HAVE_WDDX -#include "ext/wddx/php_wddx.h" -#endif #if HAVE_MYSQL #include "ext/mysql/php_mysql.h" #endif @@ -89,6 +83,21 @@ #if HAVE_ZLIB #include "ext/zlib/php_zlib.h" #endif +#if HAVE_LIBXML +#if HAVE_DOM +#include "ext/dom/php_dom.h" +#endif +#if HAVE_SIMPLEXML +#include "ext/simplexml/php_simplexml.h" +#endif +#endif +#if HAVE_XML +#include "ext/xml/php_xml.h" +#endif +#if HAVE_XML && HAVE_WDDX +#include "ext/wddx/php_wddx.h" +#endif + /* }}} */ /* {{{ php_builtin_extensions[] @@ -125,15 +134,23 @@ zend_module_entry *php_builtin_extensions[] = { #if HAVE_TOKENIZER ,phpext_tokenizer_ptr #endif +#if HAVE_ZLIB + ,phpext_zlib_ptr +#endif +#if HAVE_LIBXML +#if HAVE_DOM + ,phpext_dom_ptr +#endif +#if HAVE_SIMPLEXML + ,phpext_simplexml_ptr +#endif +#endif #if HAVE_XML ,phpext_xml_ptr #endif #if HAVE_XML && HAVE_WDDX ,phpext_wddx_ptr #endif -#if HAVE_ZLIB - ,phpext_zlib_ptr -#endif }; /* }}} */ -- cgit v1.2.1