added workaround to compile libxml under Visual Studio 2008 Beta 2
This commit is contained in:
@@ -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. */
|
||||||
|
|||||||
Reference in New Issue
Block a user