diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-27 00:25:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-27 00:25:45 +0300 |
commit | 2327e221128fb7c0b4a46cb71cf2cff8f3772654 (patch) | |
tree | bec78d2dbf786c7705ac49bc08300b8c0717c5cf /src/net | |
parent | 6a5aad6c537322ac5b54cde85271a560579d17ca (diff) | |
download | mv-2327e221128fb7c0b4a46cb71cf2cff8f3772654.tar.gz mv-2327e221128fb7c0b4a46cb71cf2cff8f3772654.tar.bz2 mv-2327e221128fb7c0b4a46cb71cf2cff8f3772654.tar.xz mv-2327e221128fb7c0b4a46cb71cf2cff8f3772654.zip |
Build bankhandler only if eathena enabled.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/bankhandler.h | 3 | ||||
-rw-r--r-- | src/net/tmwa/bankhandler.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/bankhandler.h b/src/net/bankhandler.h index dc7f4dc95..974d73147 100644 --- a/src/net/bankhandler.h +++ b/src/net/bankhandler.h @@ -21,6 +21,8 @@ #ifndef NET_BANKHANDLER_H #define NET_BANKHANDLER_H +#ifdef EATHENA_SUPPORT + #include <string> #include "localconsts.h" @@ -45,4 +47,5 @@ class BankHandler notfinal extern Net::BankHandler *bankHandler; +#endif // EATHENA_SUPPORT #endif // NET_BANKHANDLER_H diff --git a/src/net/tmwa/bankhandler.h b/src/net/tmwa/bankhandler.h index 650d94822..6b3c9e505 100644 --- a/src/net/tmwa/bankhandler.h +++ b/src/net/tmwa/bankhandler.h @@ -21,6 +21,8 @@ #ifndef NET_TMWA_BANKHANDLER_H #define NET_TMWA_BANKHANDLER_H +#ifdef EATHENA_SUPPORT + #include "net/bankhandler.h" #include "net/tmwa/messagehandler.h" @@ -47,4 +49,5 @@ class BankHandler final : public MessageHandler, } // namespace TmwAthena +#endif // EATHENA_SUPPORT #endif // NET_TMWA_BANKHANDLER_H |