From 34a492ac70b3217937eafeb6db3cb9bfdc18fba9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Nov 2011 01:11:42 +0300 Subject: Move A_UNUSED define to include file. --- src/localconsts.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/localconsts.h') 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 -- cgit v1.2.3-60-g2f50