From: Sebastian Bergmann Date: Wed, 17 Apr 2002 17:51:30 +0000 (+0000) Subject: Give HAVE_LIBEXPAT and HAVE_WDDX meaning on Win32. X-Git-Tag: php-4.3.0dev-ZendEngine2-Preview1~608 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a9c2f43f400ace2817af74b9ac96bdb7f38b93a;p=php Give HAVE_LIBEXPAT and HAVE_WDDX meaning on Win32. --- diff --git a/main/internal_functions_win32.c b/main/internal_functions_win32.c index 26d8b91280..ca1dc955a6 100644 --- a/main/internal_functions_win32.c +++ b/main/internal_functions_win32.c @@ -56,8 +56,12 @@ #include "ext/pcre/php_pcre.h" #include "ext/odbc/php_odbc.h" #include "ext/session/php_session.h" +#if HAVE_LIBEXPAT #include "ext/xml/php_xml.h" +#endif +#if HAVE_LIBEXPAT && HAVE_WDDX #include "ext/wddx/php_wddx.h" +#endif #include "ext/mysql/php_mysql.h" #include "ext/mbstring/mbstring.h" #if HAVE_OVERLOAD @@ -88,9 +92,13 @@ zend_module_entry *php_builtin_extensions[] = { #endif phpext_tokenizer_ptr, phpext_pcre_ptr, - phpext_session_ptr, +#if HAVE_LIBEXPAT phpext_xml_ptr, - phpext_wddx_ptr +#endif +#if HAVE_LIBEXPAT && HAVE_WDDX + phpext_wddx_ptr, +#endif + phpext_session_ptr }; /* }}} */