From 39ba1ec447c7fbe24aa048d9cba6c67099c4bfe9 Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Fri, 14 Aug 2020 21:08:13 +0200 Subject: [PATCH] Enable using built-in libtiff on Linux --- libtiff/tif_config.h | 4 ++-- libtiff/tiffconf.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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