From ae2e4c6a06c44cd1b3a4b45f72e10deb81be45f5 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Sat, 9 Jul 2011 08:41:02 +0200 Subject: [PATCH] win32: replace usage of _MSV_VER with _MSC_VER --- src/tsort.c | 2 +- src/util.c | 2 +- src/win32/posix.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tsort.c b/src/tsort.c index 63fd43304..2c8aab360 100644 --- a/src/tsort.c +++ b/src/tsort.c @@ -18,7 +18,7 @@ #if defined(__GNUC__) # define CLZ(x) __builtin_clz(x) -#elif defined(_MSV_VER) +#elif defined(_MSC_VER) # define CLZ(x) _CountLeadingZeros(x) #else int CLZ(int32_t x) diff --git a/src/util.c b/src/util.c index 4a44f9988..a51cbe6d8 100644 --- a/src/util.c +++ b/src/util.c @@ -5,7 +5,7 @@ #include #include "posix.h" -#ifdef _MSV_VER +#ifdef _MSC_VER # include #endif 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 */