From 2490ef610773ad1c7adf33a28b2fc982b2b8ee7e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 28 Feb 2015 22:56:32 +0300 Subject: Build vendinghandler only if eathena enabled. --- src/net/tmwa/vendinghandler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/tmwa/vendinghandler.h') diff --git a/src/net/tmwa/vendinghandler.h b/src/net/tmwa/vendinghandler.h index 22629be1f..ddfe72971 100644 --- a/src/net/tmwa/vendinghandler.h +++ b/src/net/tmwa/vendinghandler.h @@ -21,6 +21,8 @@ #ifndef NET_TMWA_VENDINGHANDLER_H #define NET_TMWA_VENDINGHANDLER_H +#ifdef EATHENA_SUPPORT + #include "net/vendinghandler.h" #include "net/tmwa/messagehandler.h" @@ -58,4 +60,5 @@ class VendingHandler final : public MessageHandler, } // namespace TmwAthena +#endif // EATHENA_SUPPORT #endif // NET_TMWA_VENDINGHANDLER_H -- cgit v1.2.3-70-g09d2