mirror of
https://github.com/opencv/opencv.git
synced 2025-01-19 06:53:50 +08:00
Fixing iOS detection in core persistence
This commit is contained in:
parent
dd7eeea118
commit
0f8e271509
@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
# include "TargetConditionals.h"
|
# 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
|
# undef USE_ZLIB
|
||||||
# define USE_ZLIB 0
|
# define USE_ZLIB 0
|
||||||
typedef void* gzFile;
|
typedef void* gzFile;
|
||||||
|
Loading…
Reference in New Issue
Block a user