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/actions/actiondef.h | |
parent | c3ee1ba31f16d8d5d8f0f6e6a68dc1e5b12bad31 (diff) | |
download | plus-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.gz plus-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.bz2 plus-5d4558bc21607cdb96a988e2867e466ff8b1578f.tar.xz plus-5d4558bc21607cdb96a988e2867e466ff8b1578f.zip |
Fix compilation warnings with tmwa only.
Diffstat (limited to 'src/actions/actiondef.h')
-rw-r--r-- | src/actions/actiondef.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actiondef.h b/src/actions/actiondef.h index c8b57e9e4..10388b1dc 100644 --- a/src/actions/actiondef.h +++ b/src/actions/actiondef.h @@ -27,6 +27,13 @@ #include "input/inputmanager.h" #define impHandler(name) bool name(InputEvent &event) + +#ifdef EATHENA_SUPPORT +#define impHandlerE(name) bool name(InputEvent &event) +#else // EATHENA_SUPPORT +#define impHandlerE(name) bool name(InputEvent &event A_UNUSED) +#endif // EATHENA_SUPPORT + #define impHandler0(name) bool name(InputEvent &event A_UNUSED) #define impHandlerVoid(name) bool name(InputEvent &event A_UNUSED) \ { \ |