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/actions/actiondef.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/actions/actiondef.h') 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) \ { \ -- cgit v1.2.3-70-g09d2