summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-27 00:30:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-27 01:51:13 +0300
commit5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8 (patch)
tree6d693d8d52e0ec6b779bea0377dca04dc1f89fbb /src/net
parent2327e221128fb7c0b4a46cb71cf2cff8f3772654 (diff)
downloadmanaplus-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.gz
manaplus-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.bz2
manaplus-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.tar.xz
manaplus-5b9f5605671f09849e1bc59fa862e2e7e9b9e0a8.zip
Build buyingstorehandler only if eathena enabled.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/buyingstorehandler.h3
-rw-r--r--src/net/tmwa/buyingstorehandler.h3
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