summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index cd7fcd955..e135a4108 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -22,3 +22,9 @@
#undef nullptr
#define nullptr 0
#endif
+
+#ifdef __GNUC__
+#define A_UNUSED __attribute__ ((unused))
+#else
+#define A_UNUSED
+#endif \ No newline at end of file