summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 86943bb80..a6043e58f 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -48,10 +48,12 @@
#ifdef __GNUC__
#define A_UNUSED __attribute__ ((unused))
#define A_WARN_UNUSED __attribute__ ((warn_unused_result))
+#define DEPRECATED __attribute__ ((deprecated))
#else
#define A_UNUSED
#define A_WARN_UNUSED
#define gnu_printf printf
+#define DEPRECATED
#endif
#ifdef __clang__
#define gnu_printf printf