win32: replace usage of _MSV_VER with _MSC_VER

This commit is contained in:
nulltoken 2011-07-09 08:41:02 +02:00
parent 38ce60f091
commit ae2e4c6a06
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -5,7 +5,7 @@
#include <ctype.h>
#include "posix.h"
#ifdef _MSV_VER
#ifdef _MSC_VER
# include <Shlwapi.h>
#endif

View File

@ -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 */