Fixed #define for snprintf on win32
authorSimon Clitherow <aphex@nildram.co.uk>
Sun, 16 Jan 2005 17:40:59 +0000 (17:40 +0000)
committerSimon Clitherow <aphex@nildram.co.uk>
Sun, 16 Jan 2005 17:40:59 +0000 (17:40 +0000)
intern/moto/intern/MT_Assert.cpp

index 47ff372084b821be1bd6e7074758e1fc2ee21e15..999e3da5842cba3802e88639a2a8d62a1f312fda 100644 (file)
@@ -38,7 +38,9 @@
 #include "MT_assert.h"
 
 #ifdef _MSC_VER
-#define _snprintf snprintf
+#ifndef snprintf
+  #define snprintf _snprintf
+#endif
 #endif
 
 // Query the user if they want to break/abort the program, ignore the assert, or ignore all future