summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-06-28 04:18:35 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-06-28 04:18:35 +0000
commit39a6b2fecd96d063930d95bfaeb938fbfe473098 (patch)
treec03997174efdd392791953db5188be62d1374eaa
parentRemoved unused libtiff source files (diff)
downloadDiligentTools-39a6b2fecd96d063930d95bfaeb938fbfe473098.tar.gz
DiligentTools-39a6b2fecd96d063930d95bfaeb938fbfe473098.zip
libtiff: fixed mac/linux/ios build
-rw-r--r--External/libtiff/CMakeLists.txt1
-rw-r--r--External/libtiff/tif_config.android.h2
-rw-r--r--External/libtiff/tif_config.linux.h2
3 files changed, 5 insertions, 0 deletions
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