mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Added change from bc0e43552f (thanks to https://github.com/diederich).
This commit is contained in:
parent
b28290cc45
commit
b1a4f22c2b
1 changed files with 7 additions and 1 deletions
|
|
@ -55,9 +55,15 @@ NSString *BWmd5(NSString *str);
|
|||
|
||||
#define BWHockeyLocalize(StringToken) NSLocalizedStringFromTableInBundle(StringToken, @"Hockey", hockeyBundle(), @"")
|
||||
|
||||
|
||||
// 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
|
||||
#endif
|
||||
|
||||
#ifndef kCFCoreFoundationVersionNumber_iPhoneOS_3_2
|
||||
#define kCFCoreFoundationVersionNumber_iPhoneOS_3_2 478.61
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue