mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
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:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user