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:
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