mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-20 21:29:00 +00:00
fix macro (#2439)
This commit is contained in:
parent
84d1a637d7
commit
a705ed09cb
@ -74,8 +74,18 @@
|
|||||||
# 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
|
||||||
# define ASDISPLAYNODE_DEPRECATED_MSG(msg) __deprecated_msg(msg)
|
# if ASDISPLAYNODE_GNUC (3, 0) && ASDISPLAYNODE_WARN_DEPRECATED
|
||||||
|
# define ASDISPLAYNODE_DEPRECATED_MSG(msg) __deprecated_msg(msg)
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (__cplusplus) && defined (__GNUC__)
|
#if defined (__cplusplus) && defined (__GNUC__)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user