diff --git a/test/minigzip.c b/test/minigzip.c index 541f3716b..201d00519 100644 --- a/test/minigzip.c +++ b/test/minigzip.c @@ -40,7 +40,7 @@ # include #endif -#if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__) +#if defined(MSDOS) || defined(OS2) || defined(_WIN32) || defined(__CYGWIN__) # include # include # ifdef UNDER_CE @@ -67,7 +67,7 @@ #endif #if !defined(Z_HAVE_UNISTD_H) && !defined(_LARGEFILE64_SOURCE) -#ifndef WIN32 /* unlink already in stdio.h for WIN32 */ +#ifndef _WIN32 /* unlink already in stdio.h for _WIN32 */ extern int unlink(const char *); #endif #endif