summaryrefslogtreecommitdiff
path: root/src/win32/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/posix.c')
-rw-r--r--src/win32/posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/posix.c b/src/win32/posix.c
index c4d9eb387..1ce3f050c 100644
--- a/src/win32/posix.c
+++ b/src/win32/posix.c
@@ -211,7 +211,7 @@ char *p_realpath(const char *orig_path, char *buffer)
int p_vsnprintf(char *buffer, size_t count, const char *format, va_list argptr)
{
-#ifdef _MSV_VER
+#ifdef _MSC_VER
int len = _vsnprintf(buffer, count, format, argptr);
return (len < 0) ? _vscprintf(format, argptr) : len;
#else /* MinGW */