Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Clitherow <aphex@nildram.co.uk>2005-01-16 20:40:59 +0300
committerSimon Clitherow <aphex@nildram.co.uk>2005-01-16 20:40:59 +0300
commita7c3b86e87657a13c40889a3dbf69beaea4416ea (patch)
treeb30656f0508b7429b3998fd756e7072b50de17f7 /intern/moto
parentf72219eea9e1b769e158920fa9794f41aa844181 (diff)
Fixed #define for snprintf on win32
Diffstat (limited to 'intern/moto')
-rw-r--r--intern/moto/intern/MT_Assert.cpp4
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