aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 69d031dca..51add6c0f 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -54,8 +54,10 @@
# define ATTRIBUTE_ALIGNED(m) __attribute__ ((__aligned__(m)))
# if __GNUC_PREREQ (3,0)
# define ATTRIBUTE_ALWAYS_INLINE __attribute__ ((always_inline)) inline
+# define ATTRIBUTE_DEPRECATED __attribute__ ((__deprecated__))
# else
# define ATTRIBUTE_ALWAYS_INLINE inline
+# define ATTRIBUTE_DEPRECATED /* n/a */
# endif
/* -fwhole-program makes all symbols local. The attribute externally_visible