sebastian Sun Nov 17 16:29:16 2002 EDT
Modified files:
/php4/ext/xml/expat xmlparse.c xmlrole.c xmltok.c
Log:
Fix Win32 build. (Lots of linkage warnings remain!)
Index: php4/ext/xml/expat/xmlparse.c
diff -u php4/ext/xml/expat/xmlparse.c:1.5 php4/ext/xml/expat/xmlparse.c:1.6
--- php4/ext/xml/expat/xmlparse.c:1.5 Sun Nov 17 13:37:48 2002
+++ php4/ext/xml/expat/xmlparse.c Sun Nov 17 16:29:16 2002
@@ -4,7 +4,11 @@
#include <stddef.h>
#include <string.h> /* memset(), memcpy() */
-#include <php_config.h>
+#if PHP_WIN32
+#include "config.w32.h"
+#else
+#include "php_config.h"
+#endif
#include "php_compat.h"
#ifdef COMPILED_FROM_DSP
Index: php4/ext/xml/expat/xmlrole.c
diff -u php4/ext/xml/expat/xmlrole.c:1.4 php4/ext/xml/expat/xmlrole.c:1.5
--- php4/ext/xml/expat/xmlrole.c:1.4 Sun Nov 17 13:37:48 2002
+++ php4/ext/xml/expat/xmlrole.c Sun Nov 17 16:29:16 2002
@@ -2,7 +2,11 @@
See the file COPYING for copying permission.
*/
-#include <php_config.h>
+#if PHP_WIN32
+#include "config.w32.h"
+#else
+#include "php_config.h"
+#endif
#include "php_compat.h"
#ifdef COMPILED_FROM_DSP
Index: php4/ext/xml/expat/xmltok.c
diff -u php4/ext/xml/expat/xmltok.c:1.4 php4/ext/xml/expat/xmltok.c:1.5
--- php4/ext/xml/expat/xmltok.c:1.4 Sun Nov 17 13:37:48 2002
+++ php4/ext/xml/expat/xmltok.c Sun Nov 17 16:29:16 2002
@@ -2,7 +2,11 @@
See the file COPYING for copying permission.
*/
-#include <php_config.h>
+#if PHP_WIN32
+#include "config.w32.h"
+#else
+#include "php_config.h"
+#endif
#include "php_compat.h"
#ifdef COMPILED_FROM_DSP
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php