Enable using built-in libtiff on Linux

This commit is contained in:
Maarten Bent 2020-08-14 21:08:13 +02:00
parent 9f657ff8a7
commit 39ba1ec447
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
hardcoded definitions for MSVC, Xcode and MinGW when using makefiles. hardcoded definitions for MSVC, Xcode and MinGW when using makefiles.
*/ */
#ifdef __APPLE__ #ifndef _WIN32
/* Define to 1 if you have the <assert.h> header file. */ /* Define to 1 if you have the <assert.h> header file. */
#define HAVE_ASSERT_H 1 #define HAVE_ASSERT_H 1
@ -330,7 +330,7 @@
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */ /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1 #define TIME_WITH_SYS_TIME 1
#else /* __APPLE__ */ #else /* _WIN32 */
/* Define to 1 if you have the <assert.h> header file. */ /* Define to 1 if you have the <assert.h> header file. */
#define HAVE_ASSERT_H 1 #define HAVE_ASSERT_H 1

View File

@ -15,7 +15,7 @@
#ifndef _TIFFCONF_ #ifndef _TIFFCONF_
#define _TIFFCONF_ #define _TIFFCONF_
#ifdef __APPLE__ #ifndef _WIN32
#include "tif_config.h" #include "tif_config.h"
#else #else