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
@ -50,12 +50,12 @@
|
||||
#define USE_ZLIB 1
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include "TargetConditionals.h"
|
||||
#if defined TARGET_OS_IPHONE || defined TARGET_IPHONE_SIMULATOR
|
||||
#undef USE_ZLIB
|
||||
#define USE_ZLIB 0
|
||||
typedef void* gzFile;
|
||||
#endif
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user