diff options
author | Simon Clitherow <aphex@nildram.co.uk> | 2003-11-09 15:36:15 +0300 |
---|---|---|
committer | Simon Clitherow <aphex@nildram.co.uk> | 2003-11-09 15:36:15 +0300 |
commit | 20b353a72a43ff4e143f8636f7a3c6e3b6f0c06d (patch) | |
tree | a8202ebab896262a0df8617e0e927f95fef0514f /source | |
parent | a149109a5e4ddf94b349d498d08f5d7be25963b1 (diff) |
- small fix for snprintf() on Win32... MS renamed the function
to _snprintf !?
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editmesh.c | 6 |
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); |