diff --git a/libtiff/tif_config.h b/libtiff/tif_config.h index f838623d..e0f11c73 100644 --- a/libtiff/tif_config.h +++ b/libtiff/tif_config.h @@ -3,7 +3,7 @@ hardcoded definitions for MSVC, Xcode and MinGW when using makefiles. */ -#ifdef __APPLE__ +#ifndef _WIN32 /* Define to 1 if you have the header file. */ #define HAVE_ASSERT_H 1 @@ -330,7 +330,7 @@ /* Define to 1 if you can safely include both and . */ #define TIME_WITH_SYS_TIME 1 -#else /* __APPLE__ */ +#else /* _WIN32 */ /* Define to 1 if you have the header file. */ #define HAVE_ASSERT_H 1 diff --git a/libtiff/tiffconf.h b/libtiff/tiffconf.h index f0dc9bb0..38d8a216 100644 --- a/libtiff/tiffconf.h +++ b/libtiff/tiffconf.h @@ -15,7 +15,7 @@ #ifndef _TIFFCONF_ #define _TIFFCONF_ -#ifdef __APPLE__ +#ifndef _WIN32 #include "tif_config.h" #else