mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-21 05:39:01 +00:00
fix macro (#2439)
This commit is contained in:
parent
84d1a637d7
commit
a705ed09cb
@ -74,9 +74,19 @@
|
|||||||
# define ASDISPLAYNODE_WARN_DEPRECATED 1
|
# define ASDISPLAYNODE_WARN_DEPRECATED 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef ASDISPLAYNODE_DEPRECATED
|
||||||
|
# if ASDISPLAYNODE_GNUC (3, 0) && ASDISPLAYNODE_WARN_DEPRECATED
|
||||||
|
# define ASDISPLAYNODE_DEPRECATED __attribute__ ((deprecated))
|
||||||
|
# else
|
||||||
|
# define ASDISPLAYNODE_DEPRECATED
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef ASDISPLAYNODE_DEPRECATED_MSG
|
#ifndef ASDISPLAYNODE_DEPRECATED_MSG
|
||||||
|
# if ASDISPLAYNODE_GNUC (3, 0) && ASDISPLAYNODE_WARN_DEPRECATED
|
||||||
# define ASDISPLAYNODE_DEPRECATED_MSG(msg) __deprecated_msg(msg)
|
# define ASDISPLAYNODE_DEPRECATED_MSG(msg) __deprecated_msg(msg)
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined (__cplusplus) && defined (__GNUC__)
|
#if defined (__cplusplus) && defined (__GNUC__)
|
||||||
# define ASDISPLAYNODE_NOTHROW __attribute__ ((nothrow))
|
# define ASDISPLAYNODE_NOTHROW __attribute__ ((nothrow))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user