From c235f0aa431913b15c0cb40eabfa4e64be6b4c49 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 16 Jun 2017 20:38:52 +0200 Subject: [PATCH] MinGW: No longer ignore expat_config.h Previously, "#define XML_CONTEXT_BYTES 1024" from winconfig.h would render --disable-xml-context ineffective. --- expat/lib/winconfig.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/expat/lib/winconfig.h b/expat/lib/winconfig.h index c1b791d6..9bf014d7 100644 --- a/expat/lib/winconfig.h +++ b/expat/lib/winconfig.h @@ -17,6 +17,12 @@ #include #include + +#if defined(HAVE_EXPAT_CONFIG_H) /* e.g. MinGW */ +# include +#else /* !defined(HAVE_EXPAT_CONFIG_H) */ + + #define XML_NS 1 #define XML_DTD 1 #define XML_CONTEXT_BYTES 1024 @@ -27,4 +33,8 @@ /* Windows has memmove() available. */ #define HAVE_MEMMOVE + +#endif /* !defined(HAVE_EXPAT_CONFIG_H) */ + + #endif /* ndef WINCONFIG_H */