提交 0f8e2715 编写于 作者: A Andrey Kamaev

Fixing iOS detection in core persistence

上级 dd7eeea1
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册