From b4e42dd43f6ceb4445a11808ff448b9f7bb477cf Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sun, 17 Nov 2002 21:29:16 +0000 Subject: [PATCH] Fix Win32 build. (Lots of linkage warnings remain!) --- ext/xml/expat/xmlparse.c | 6 +++++- ext/xml/expat/xmlrole.c | 6 +++++- ext/xml/expat/xmltok.c | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ext/xml/expat/xmlparse.c b/ext/xml/expat/xmlparse.c index 47f08099ff..ef1ec022f6 100644 --- a/ext/xml/expat/xmlparse.c +++ b/ext/xml/expat/xmlparse.c @@ -4,7 +4,11 @@ #include #include /* memset(), memcpy() */ -#include +#if PHP_WIN32 +#include "config.w32.h" +#else +#include "php_config.h" +#endif #include "php_compat.h" #ifdef COMPILED_FROM_DSP diff --git a/ext/xml/expat/xmlrole.c b/ext/xml/expat/xmlrole.c index d81cba5a2f..d9a2367087 100644 --- a/ext/xml/expat/xmlrole.c +++ b/ext/xml/expat/xmlrole.c @@ -2,7 +2,11 @@ See the file COPYING for copying permission. */ -#include +#if PHP_WIN32 +#include "config.w32.h" +#else +#include "php_config.h" +#endif #include "php_compat.h" #ifdef COMPILED_FROM_DSP diff --git a/ext/xml/expat/xmltok.c b/ext/xml/expat/xmltok.c index 639fb4c56b..0a11e56748 100644 --- a/ext/xml/expat/xmltok.c +++ b/ext/xml/expat/xmltok.c @@ -2,7 +2,11 @@ See the file COPYING for copying permission. */ -#include +#if PHP_WIN32 +#include "config.w32.h" +#else +#include "php_config.h" +#endif #include "php_compat.h" #ifdef COMPILED_FROM_DSP -- 2.50.1