From 39a6b2fecd96d063930d95bfaeb938fbfe473098 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Thu, 27 Jun 2019 21:18:35 -0700 Subject: libtiff: fixed mac/linux/ios build --- External/libtiff/CMakeLists.txt | 1 + External/libtiff/tif_config.android.h | 2 ++ External/libtiff/tif_config.linux.h | 2 ++ 3 files changed, 5 insertions(+) diff --git a/External/libtiff/CMakeLists.txt b/External/libtiff/CMakeLists.txt index bafd8cf..689428f 100644 --- a/External/libtiff/CMakeLists.txt +++ b/External/libtiff/CMakeLists.txt @@ -56,6 +56,7 @@ endif() set(INCLUDE t4.h tif_config.android.h + tif_config.linux.h tif_config.h tif_config.h-vms tif_config.vc.h diff --git a/External/libtiff/tif_config.android.h b/External/libtiff/tif_config.android.h index 517c3bf..6a0101b 100644 --- a/External/libtiff/tif_config.android.h +++ b/External/libtiff/tif_config.android.h @@ -8,6 +8,8 @@ machine */ #define HAVE_IEEEFP 1 +#define HAVE_SNPRINTF 1 + /* Define to 1 if you have the `jbg_newlen' function. */ #define HAVE_JBG_NEWLEN 1 diff --git a/External/libtiff/tif_config.linux.h b/External/libtiff/tif_config.linux.h index 536d1b6..e63eee4 100644 --- a/External/libtiff/tif_config.linux.h +++ b/External/libtiff/tif_config.linux.h @@ -8,6 +8,8 @@ machine */ #define HAVE_IEEEFP 1 +#define HAVE_SNPRINTF 1 + /* Define to 1 if you have the `jbg_newlen' function. */ #define HAVE_JBG_NEWLEN 1 -- cgit v1.2.3