aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index b1463741e..4336e19e0 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -232,6 +232,11 @@
/* Define if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
+#else
+
+/* MSVC needs an underscore */
+#define snprintf _snprintf
+
#endif
#endif