From 26ccc09c4686a753b9ed9a41d60c499979ce5f7c Mon Sep 17 00:00:00 2001 From: Yuriy Solovyov Date: Fri, 14 Apr 2017 17:16:00 +0300 Subject: [PATCH] Fix zlib issue on iOS --- modules/core/src/persistence.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/core/src/persistence.cpp b/modules/core/src/persistence.cpp index 66b318d328..2e834f67fd 100644 --- a/modules/core/src/persistence.cpp +++ b/modules/core/src/persistence.cpp @@ -50,15 +50,6 @@ #define USE_ZLIB 1 -#ifdef __APPLE__ -# include "TargetConditionals.h" -# if (defined TARGET_OS_IPHONE && TARGET_OS_IPHONE) || (defined TARGET_IPHONE_SIMULATOR && TARGET_IPHONE_SIMULATOR) -# undef USE_ZLIB -# define USE_ZLIB 0 - typedef void* gzFile; -# endif -#endif - #if USE_ZLIB # ifndef _LFS64_LARGEFILE # define _LFS64_LARGEFILE 0