aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 {