diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2005-01-16 20:40:59 +0300 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2005-01-16 20:40:59 +0300 |
commit | a7c3b86e87657a13c40889a3dbf69beaea4416ea (patch) | |
tree | b30656f0508b7429b3998fd756e7072b50de17f7 /intern | |
parent | f72219eea9e1b769e158920fa9794f41aa844181 (diff) |
Fixed #define for snprintf on win32
Diffstat (limited to 'intern')
-rw-r--r-- | intern/moto/intern/MT_Assert.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 |