Author: tkreuzer Date: Thu Nov 25 23:16:12 2010 New Revision: 49795
URL: http://svn.reactos.org/svn/reactos?rev=49795&view=rev Log: [LIBXML2] add a hack around the hack
Modified: branches/cmake-bringup/lib/3rdparty/libxml2/config.h
Modified: branches/cmake-bringup/lib/3rdparty/libxml2/config.h URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/lib/3rdparty/libxm... ============================================================================== --- branches/cmake-bringup/lib/3rdparty/libxml2/config.h [iso-8859-1] (original) +++ branches/cmake-bringup/lib/3rdparty/libxml2/config.h [iso-8859-1] Thu Nov 25 23:16:12 2010 @@ -302,6 +302,12 @@ #define vsnprintf _vsnprintf #endif
+#if defined(_MSC_VER) +#define GetModuleHandleA GetModuleHandleA_ +#endif #if defined(__MINGW32__) #include <windows.h> #endif +#if defined(_MSC_VER) +#undef GetModuleHandleA +#endif