Fix compilation under MSVC9

svn-id: r29923
This commit is contained in:
Filippos Karapetis 2007-12-20 15:38:22 +00:00
parent 1b285398b3
commit 276c67407b

View File

@ -66,7 +66,10 @@
#pragma warning( disable : 4702 ) // turn off "unreachable code" warning
#pragma warning( disable : 4706 ) // turn off "assignment within conditional expression" warning
#define vsnprintf _vsnprintf
// vsnprintf is already defined in Visual Studio 2008
#if (_MSC_VER < 1500)
#define vsnprintf _vsnprintf
#endif
#endif
#if !defined(_WIN32_WCE)