mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +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:
@@ -18,7 +18,7 @@
|
||||
#define ASMultiplexImageNodeCLogError(...)
|
||||
|
||||
// Note: `<sys/kdebug_signpost.h>` only exists in Xcode 8 and later.
|
||||
#if PROFILE && __has_include("<sys/kdebug_signpost.h>")
|
||||
#if defined(PROFILE) && __has_include("<sys/kdebug_signpost.h>")
|
||||
|
||||
#import <sys/kdebug_signpost.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user