From 40dd96e83abd8c5d8be732276d1122ee1838a216 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 14 Mar 2019 19:32:45 +0000 Subject: [PATCH] 3rdparty: fix libtiff build Keep `_FILE_OFFSET_BITS` undefined in Android builds. --- 3rdparty/libtiff/tif_config.h.cmake.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/libtiff/tif_config.h.cmake.in b/3rdparty/libtiff/tif_config.h.cmake.in index 2414460338..6ea3eff3a9 100644 --- a/3rdparty/libtiff/tif_config.h.cmake.in +++ b/3rdparty/libtiff/tif_config.h.cmake.in @@ -216,7 +216,7 @@ #endif /* Number of bits in a file offset, on hosts where this is settable. */ -#define _FILE_OFFSET_BITS @FILE_OFFSET_BITS@ +//disabled for OpenCV CMakeLists.txt: #define _FILE_OFFSET_BITS @FILE_OFFSET_BITS@ /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */