From bf5a4a7d39bd9bab262f9e361d93aa74de7e43aa Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Mon, 10 Dec 2007 00:44:18 +0000 Subject: [PATCH] added workaround to compile libxml under Visual Studio 2008 Beta 2 --- Extras/LibXML/config-win32.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Extras/LibXML/config-win32.h b/Extras/LibXML/config-win32.h index 6fff57adf..a7fd805cc 100644 --- a/Extras/LibXML/config-win32.h +++ b/Extras/LibXML/config-win32.h @@ -89,7 +89,10 @@ static int isnan (double d) { #if defined(_MSC_VER) || defined(__MINGW32__) #define mkdir(p,m) _mkdir(p) #define snprintf _snprintf +///added workaround to compile under Visual Studio 2008 Beta +#if (_MSC_VER < 1500) #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a) +#endif #endif /* Threading API to use should be specified here for compatibility reasons.