added workaround to compile libxml under Visual Studio 2008 Beta 2

This commit is contained in:
ejcoumans
2007-12-10 00:44:18 +00:00
parent a34f229ad3
commit bf5a4a7d39

View File

@@ -89,8 +89,11 @@ static int isnan (double d) {
#if defined(_MSC_VER) || defined(__MINGW32__) #if defined(_MSC_VER) || defined(__MINGW32__)
#define mkdir(p,m) _mkdir(p) #define mkdir(p,m) _mkdir(p)
#define snprintf _snprintf #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) #define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)
#endif #endif
#endif
/* Threading API to use should be specified here for compatibility reasons. /* Threading API to use should be specified here for compatibility reasons.
This is however best specified on the compiler's command-line. */ This is however best specified on the compiler's command-line. */