From 5d4558bc21607cdb96a988e2867e466ff8b1578f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 11 Apr 2016 02:27:02 +0300 Subject: Fix compilation warnings with tmwa only. --- src/localconsts.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/localconsts.h') diff --git a/src/localconsts.h b/src/localconsts.h index eeb1d657e..4a79f61b0 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -88,6 +88,11 @@ #define A_UNUSED __attribute__ ((unused)) #define A_WARN_UNUSED __attribute__ ((warn_unused_result)) #define DEPRECATED __attribute__ ((deprecated)) +#ifndef EATHENA_SUPPORT +#define A_TMWA_UNUSED __attribute__ ((unused)) +#else // EATHENA_SUPPORT +#define A_TMWA_UNUSED +#endif // EATHENA_SUPPORT #ifdef __native_client__ #define restrict -- cgit v1.2.3-60-g2f50