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:
Garrett Moon
2017-04-10 15:06:40 -07:00
committed by GitHub
parent 68a8d5f468
commit 8c3775f5e2
26 changed files with 62 additions and 41 deletions

View File

@@ -6,7 +6,9 @@
// Copyright © 2017 Facebook. All rights reserved.
//
#if IG_LIST_KIT
#import <AsyncDisplayKit/ASAvailability.h>
#if AS_IG_LIST_KIT
#import <IGListKit/IGListKit.h>
@@ -31,4 +33,4 @@ NS_ASSUME_NONNULL_BEGIN
NS_ASSUME_NONNULL_END
#endif // IG_LIST_KIT
#endif // AS_IG_LIST_KIT