* [WIN32] Added snprintf define so msvc linker doesn't complain about missing symbols.
authorNathan Letwory <nathan@letworyinteractive.com>
Mon, 23 Feb 2004 09:04:55 +0000 (09:04 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Mon, 23 Feb 2004 09:04:55 +0000 (09:04 +0000)
source/blender/src/buttons_editing.c

index 3e2a918411c49c7ffb2119dc6503aed4325fdd3f..1d7c7d26d9cdaa88328e2a9bf76f3f4d65a2a0ad 100644 (file)
@@ -41,6 +41,9 @@
 
 #ifdef WIN32
 #include "BLI_winstuff.h"
+#ifndef snprintf
+#define snprintf _snprintf
+#endif
 #endif
 
 #include "MEM_guardedalloc.h"