diff --git a/expat/xmltok/dllmain.c b/expat/xmltok/dllmain.c index 579d6567..f508a452 100755 --- a/expat/xmltok/dllmain.c +++ b/expat/xmltok/dllmain.c @@ -18,6 +18,9 @@ James Clark. All Rights Reserved. Contributor(s): */ +#define STRICT 1 +#define WIN32_LEAN_AND_MEAN 1 + #include BOOL WINAPI DllMain(HANDLE hInst, ULONG ul_reason_for_call, LPVOID lpReserved) diff --git a/expat/xmlwf/codepage.c b/expat/xmlwf/codepage.c index 159a12a0..b8d89e9c 100755 --- a/expat/xmlwf/codepage.c +++ b/expat/xmlwf/codepage.c @@ -21,6 +21,9 @@ Contributor(s): #include "codepage.h" #ifdef WIN32 +#define STRICT 1 +#define WIN32_LEAN_AND_MEAN 1 + #include int codepageMap(int cp, int *map) diff --git a/expat/xmlwf/win32filemap.c b/expat/xmlwf/win32filemap.c index aa6d4c26..587fe28c 100755 --- a/expat/xmlwf/win32filemap.c +++ b/expat/xmlwf/win32filemap.c @@ -19,6 +19,7 @@ Contributor(s): */ #define STRICT 1 +#define WIN32_LEAN_AND_MEAN 1 #ifdef XML_UNICODE_WCHAR_T #ifndef XML_UNICODE