aboutsummaryrefslogtreecommitdiff
path: root/src/fwriteln.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fwriteln.c')
-rw-r--r--src/fwriteln.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fwriteln.c b/src/fwriteln.c
index b322642..ae09f9c 100644
--- a/src/fwriteln.c
+++ b/src/fwriteln.c
@@ -17,6 +17,10 @@
#include "zexy.h"
+#ifdef __WIN32__
+# define snprintf _snprintf
+#endif
+
#include <stdio.h>
#include <string.h>