summaryrefslogtreecommitdiff
path: root/src/localconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-11 02:27:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-11 02:38:55 +0300
commit5d4558bc21607cdb96a988e2867e466ff8b1578f (patch)
tree614c1f1818146df9ecc7453b780773a081112a92 /src/localconsts.h
parentc3ee1ba31f16d8d5d8f0f6e6a68dc1e5b12bad31 (diff)
downloadmanaverse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.gz
manaverse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.bz2
manaverse-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.xz
manaverse-5d4558bc21607cdb96a988e2867e466ff8b1578f.zip
Fix compilation warnings with tmwa only.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r--src/localconsts.h5
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