Fixing iOS detection in core persistence

This commit is contained in:
Andrey Kamaev 2012-06-26 09:21:22 +00:00
parent dd7eeea118
commit 0f8e271509

View File

@ -50,12 +50,12 @@
#define USE_ZLIB 1 #define USE_ZLIB 1
#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;
#endif # endif
#endif #endif
#if USE_ZLIB #if USE_ZLIB