aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormusil <tmusil@users.sourceforge.net>2011-06-30 15:12:00 +0000
committermusil <tmusil@users.sourceforge.net>2011-06-30 15:12:00 +0000
commit6371199b83b4ef70ea2caa309816f778db33601f (patch)
tree379e49dc4635d994c82e00ebd753e691963219e0
parent843fa267aeffd65c8e4ecdde5657c6e760903e11 (diff)
_snprintf for VSC
svn path=/trunk/externals/zexy/; revision=15139
-rw-r--r--src/rawprint.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rawprint.c b/src/rawprint.c
index 6f37253..9411dec 100644
--- a/src/rawprint.c
+++ b/src/rawprint.c
@@ -19,6 +19,10 @@
#include "zexy.h"
#include <stdio.h>
+#ifdef _MSC_VER
+# define snprintf _snprintf
+#endif
+
static t_class *rawprint_class;
typedef struct _rawprint {