mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Need to check availability before use of macros. (#3254)
* Need to check availability before use of macros. * Get rid of PCH and enforce macro definition. * Remove prefix * Switch to global warning instead, much better.
This commit is contained in:
@@ -6,7 +6,9 @@
|
||||
// Copyright © 2017 Facebook. All rights reserved.
|
||||
//
|
||||
|
||||
#if IG_LIST_KIT
|
||||
#import <AsyncDisplayKit/ASAvailability.h>
|
||||
|
||||
#if AS_IG_LIST_KIT
|
||||
|
||||
#import "AsyncDisplayKit+IGListKitMethods.h"
|
||||
#import <AsyncDisplayKit/ASAssert.h>
|
||||
@@ -44,4 +46,4 @@
|
||||
|
||||
@end
|
||||
|
||||
#endif // IG_LIST_KIT
|
||||
#endif // AS_IG_LIST_KIT
|
||||
|
||||
Reference in New Issue
Block a user