]> granicus.if.org Git - php/commitdiff
Give HAVE_LIBEXPAT and HAVE_WDDX meaning on Win32.
authorSebastian Bergmann <sebastian@php.net>
Wed, 17 Apr 2002 17:51:30 +0000 (17:51 +0000)
committerSebastian Bergmann <sebastian@php.net>
Wed, 17 Apr 2002 17:51:30 +0000 (17:51 +0000)
main/internal_functions_win32.c

index 26d8b9128048ac0213406c8089a045534a607961..ca1dc955a618acfc624cf8363c9ac5cd37a24cb5 100644 (file)
 #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
 };
 /* }}} */