mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #8581 from ysolovyov:zlib-ios-fix
This commit is contained in:
commit
10787c68d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user