mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Fixing iOS detection in core persistence
This commit is contained in:
parent
dd7eeea118
commit
0f8e271509
@ -51,7 +51,7 @@
|
||||
|
||||
#ifdef __APPLE__
|
||||
# include "TargetConditionals.h"
|
||||
#if defined TARGET_OS_IPHONE || defined TARGET_IPHONE_SIMULATOR
|
||||
# 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;
|
||||
|
Loading…
Reference in New Issue
Block a user