From a7c3b86e87657a13c40889a3dbf69beaea4416ea Mon Sep 17 00:00:00 2001 From: Simon Clitherow Date: Sun, 16 Jan 2005 17:40:59 +0000 Subject: Fixed #define for snprintf on win32 --- intern/moto/intern/MT_Assert.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'intern/moto') diff --git a/intern/moto/intern/MT_Assert.cpp b/intern/moto/intern/MT_Assert.cpp index 47ff372084b..999e3da5842 100644 --- a/intern/moto/intern/MT_Assert.cpp +++ b/intern/moto/intern/MT_Assert.cpp @@ -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 -- cgit v1.2.3