diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-27 00:30:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-27 01:51:13 +0300 |
commit | 5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8 (patch) | |
tree | 6d693d8d52e0ec6b779bea0377dca04dc1f89fbb /src/net | |
parent | 2327e221128fb7c0b4a46cb71cf2cff8f3772654 (diff) | |
download | manaverse-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.gz manaverse-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.bz2 manaverse-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.xz manaverse-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.zip |
Build buyingstorehandler only if eathena enabled.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/buyingstorehandler.h | 3 | ||||
-rw-r--r-- | src/net/tmwa/buyingstorehandler.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/net/buyingstorehandler.h b/src/net/buyingstorehandler.h index 321cd9ec1..324dea271 100644 --- a/src/net/buyingstorehandler.h +++ b/src/net/buyingstorehandler.h @@ -21,6 +21,8 @@ #ifndef NET_BUYINGSTOREHANDLER_H #define NET_BUYINGSTOREHANDLER_H +#ifdef EATHENA_SUPPORT + #include <string> #include <vector> @@ -58,4 +60,5 @@ class BuyingStoreHandler notfinal extern Net::BuyingStoreHandler *buyingStoreHandler; +#endif // EATHENA_SUPPORT #endif // NET_BUYINGSTOREHANDLER_H diff --git a/src/net/tmwa/buyingstorehandler.h b/src/net/tmwa/buyingstorehandler.h index 381fe5c1a..dc1b408bb 100644 --- a/src/net/tmwa/buyingstorehandler.h +++ b/src/net/tmwa/buyingstorehandler.h @@ -21,6 +21,8 @@ #ifndef NET_TMWA_BUYINGSTOREHANDLER_H #define NET_TMWA_BUYINGSTOREHANDLER_H +#ifdef EATHENA_SUPPORT + #include "net/buyingstorehandler.h" #include "net/tmwa/messagehandler.h" @@ -55,4 +57,5 @@ class BuyingStoreHandler final : public MessageHandler, } // namespace TmwAthena +#endif // EATHENA_SUPPORT #endif // NET_TMWA_BUYINGSTOREHANDLER_H |