Standardize Dependency Flags for PINRemoteImage, IGListKit (#3244)

* no message

* Go further

* Make the symbols public so that apps actually build

* Move ASAvailability into the umbrella header

* Remove duplicate define

* Put the file back where it was in the list

* Revert "Put the file back where it was in the list"

This reverts commit 6a80c15b5b5efe5ff39812a018114e8bdc1dc0cf.
This commit is contained in:
Adlai Holler
2017-04-07 15:04:50 -07:00
committed by GitHub
parent 873ae64cec
commit b41816d40d
22 changed files with 11 additions and 50 deletions

View File

@@ -12,14 +12,6 @@
#import <AsyncDisplayKit/ASLog.h>
#ifndef PIN_REMOTE_IMAGE
#if __has_include(<PINRemoteImage/PINRemoteImage.h>)
#define PIN_REMOTE_IMAGE 1
#else
#define PIN_REMOTE_IMAGE 0
#endif
#endif
// The C++ compiler mangles C function names. extern "C" { /* your C functions */ } prevents this.
// You should wrap all C function prototypes declared in headers with ASDISPLAYNODE_EXTERN_C_BEGIN/END, even if
// they are included only from .m (Objective-C) files. It's common for .m files to start using C++