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
path: root/source
diff options
context:
space:
mode:
authorSimon Clitherow <aphex@nildram.co.uk>2003-11-09 15:36:15 +0300
committerSimon Clitherow <aphex@nildram.co.uk>2003-11-09 15:36:15 +0300
commit20b353a72a43ff4e143f8636f7a3c6e3b6f0c06d (patch)
treea8202ebab896262a0df8617e0e927f95fef0514f /source
parenta149109a5e4ddf94b349d498d08f5d7be25963b1 (diff)
- small fix for snprintf() on Win32... MS renamed the function
to _snprintf !?
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editmesh.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c
index a79bc71554a..86809dd67e7 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -105,6 +105,12 @@
#include "GHOST_C-api.h"
#include "winlay.h"
+#ifdef WIN32
+ #ifndef snprintf
+ #define snprintf _snprintf
+ #endif
+#endif
+
/****/
static void free_editverts(ListBase *edve);