This commit is contained in:
Thomas Dohmke 2011-12-03 18:31:11 +01:00
parent b28290cc45
commit b1a4f22c2b

View File

@ -55,9 +55,15 @@ NSString *BWmd5(NSString *str);
#define BWHockeyLocalize(StringToken) NSLocalizedStringFromTableInBundle(StringToken, @"Hockey", hockeyBundle(), @"") #define BWHockeyLocalize(StringToken) NSLocalizedStringFromTableInBundle(StringToken, @"Hockey", hockeyBundle(), @"")
// compatibility helper // compatibility helper
#ifdef HOCKEYLIB_STATIC_LIBRARY
// If HockeyLib is built as a static library and linked into the project
// we can't use this project's deployment target to statically decide if
// native JSON is available
#define BW_NATIVE_JSON_AVAILABLE 0
#else
#define BW_NATIVE_JSON_AVAILABLE __IPHONE_OS_VERSION_MIN_REQUIRED >= 50000 #define BW_NATIVE_JSON_AVAILABLE __IPHONE_OS_VERSION_MIN_REQUIRED >= 50000
#endif
#ifndef kCFCoreFoundationVersionNumber_iPhoneOS_3_2 #ifndef kCFCoreFoundationVersionNumber_iPhoneOS_3_2
#define kCFCoreFoundationVersionNumber_iPhoneOS_3_2 478.61 #define kCFCoreFoundationVersionNumber_iPhoneOS_3_2 478.61