summaryrefslogtreecommitdiff
path: root/src/net/tmwa/vendinghandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 22:56:32 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 22:57:51 +0300
commit2490ef610773ad1c7adf33a28b2fc982b2b8ee7e (patch)
treee84fa69940813b4e00966ed6dbf595222120b889 /src/net/tmwa/vendinghandler.h
parent631e52266a80983046a61d68648becd9f3656ff7 (diff)
downloadmv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.gz
mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.bz2
mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.tar.xz
mv-2490ef610773ad1c7adf33a28b2fc982b2b8ee7e.zip
Build vendinghandler only if eathena enabled.
Diffstat (limited to 'src/net/tmwa/vendinghandler.h')
-rw-r--r--src/net/tmwa/vendinghandler.h3
1 files changed, 3 insertions, 0 deletions
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