diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-11-25 01:11:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-11-25 01:11:42 +0300 |
commit | 34a492ac70b3217937eafeb6db3cb9bfdc18fba9 (patch) | |
tree | cb3e079f7a830881f0b2810ed69557669704eb81 /src/localconsts.h | |
parent | b8e720a33502700b42569f152d63badd26d4a9b3 (diff) | |
download | ManaVerse-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.gz ManaVerse-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.bz2 ManaVerse-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.tar.xz ManaVerse-34a492ac70b3217937eafeb6db3cb9bfdc18fba9.zip |
Move A_UNUSED define to include file.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 6 |
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 |