This commit is contained in:
Hannah Troisi 2016-10-19 16:05:54 -07:00 committed by Adlai Holler
parent 84d1a637d7
commit a705ed09cb

View File

@ -74,8 +74,18 @@
# define ASDISPLAYNODE_WARN_DEPRECATED 1
#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
# 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
#if defined (__cplusplus) && defined (__GNUC__)