diff --git a/src/common/compat.h b/src/common/compat.h index 43199d9302..6116264d79 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -89,7 +89,7 @@ size_t strlcat(char *dst, const char *src, size_t siz); size_t strlcpy(char *dst, const char *src, size_t siz); #endif -#ifdef MS_WINDOWS +#ifdef _MSC_VER #define U64_PRINTF_ARG(a) (a) #define U64_SCANF_ARG(a) (a) #define U64_FORMAT "%I64u" diff --git a/src/common/torgzip.c b/src/common/torgzip.c index 12cc7ec969..3542a48828 100644 --- a/src/common/torgzip.c +++ b/src/common/torgzip.c @@ -15,7 +15,7 @@ const char torgzip_c_id[] = #include #include #include -#ifdef MS_WINDOWS +#ifdef _MSC_VER #include "..\..\contrib\zlib\zlib.h" #else #include