From 93bfc06b01a6a845facf8a68f66c69c4458a40bd Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 13 Dec 2018 08:52:57 -0800 Subject: Fixed MinGW build issues --- External/libtiff-4.0.3/libtiff/tif_config.h | 6 +++++- External/libtiff-4.0.3/libtiff/tiffconf.h | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'External') diff --git a/External/libtiff-4.0.3/libtiff/tif_config.h b/External/libtiff-4.0.3/libtiff/tif_config.h index 57bc233..1186266 100644 --- a/External/libtiff-4.0.3/libtiff/tif_config.h +++ b/External/libtiff-4.0.3/libtiff/tif_config.h @@ -1,6 +1,10 @@ #if PLATFORM_WIN32 || PLATFORM_UNIVERSAL_WINDOWS -# include "tif_config.vc.h" +# ifdef _MSC_VER +# include "tif_config.vc.h" +# else // MinGW +# include "tif_config.linux.h" +# endif #elif PLATFORM_ANDROID diff --git a/External/libtiff-4.0.3/libtiff/tiffconf.h b/External/libtiff-4.0.3/libtiff/tiffconf.h index 2bab5e4..a8d5121 100644 --- a/External/libtiff-4.0.3/libtiff/tiffconf.h +++ b/External/libtiff-4.0.3/libtiff/tiffconf.h @@ -1,6 +1,10 @@ #if PLATFORM_WIN32 || PLATFORM_UNIVERSAL_WINDOWS -# include "tiffconf.vc.h" +# ifdef _MSC_VER +# include "tiffconf.vc.h" +# else // MinGW +# include "tiffconf.linux.h" +# endif #elif PLATFORM_ANDROID || PLATFORM_LINUX || PLATFORM_MACOS || PLATFORM_IOS -- cgit v1.2.3