diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-11 02:27:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-11 02:38:55 +0300 |
commit | 5d4558bc21607cdb96a988e2867e466ff8b1578f (patch) | |
tree | 614c1f1818146df9ecc7453b780773a081112a92 /src/localconsts.h | |
parent | c3ee1ba31f16d8d5d8f0f6e6a68dc1e5b12bad31 (diff) | |
download | mv-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.gz mv-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.bz2 mv-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.xz mv-5d4558bc21607cdb96a988e2867e466ff8b1578f.zip |
Fix compilation warnings with tmwa only.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |