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,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.