From cfba60d19dfe24c67df552f2a141aca3a4b4cc0f Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 25 Nov 2010 23:16:12 +0000 Subject: [PATCH] [LIBXML2] add a hack around the hack svn path=/branches/cmake-bringup/; revision=49795 --- lib/3rdparty/libxml2/config.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/3rdparty/libxml2/config.h b/lib/3rdparty/libxml2/config.h index a4b01813b84..8599007f9dd 100644 --- a/lib/3rdparty/libxml2/config.h +++ b/lib/3rdparty/libxml2/config.h @@ -302,6 +302,12 @@ #define vsnprintf _vsnprintf #endif +#if defined(_MSC_VER) +#define GetModuleHandleA GetModuleHandleA_ +#endif #if defined(__MINGW32__) #include #endif +#if defined(_MSC_VER) +#undef GetModuleHandleA +#endif