summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/Makefile.am4
-rw-r--r--src/listeners/shoprenamelistener.h3
3 files changed, 7 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 3d598636e..886cc620e 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1124,8 +1124,6 @@ SET(SRCS
gui/rect.h
events/selectionevent.h
listeners/selectionlistener.h
- listeners/shoprenamelistener.cpp
- listeners/shoprenamelistener.h
listeners/statlistener.cpp
listeners/statlistener.h
listeners/tablemodellistener.h
@@ -1414,6 +1412,8 @@ SET(SRCS_EATHENA
listeners/buyingstoreslotslistener.h
listeners/pincodelistener.cpp
listeners/pincodelistener.h
+ listeners/shoprenamelistener.cpp
+ listeners/shoprenamelistener.h
net/eathena/adminhandler.cpp
net/eathena/adminhandler.h
net/eathena/auctionhandler.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index 73c5e4bba..80c191839 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -212,8 +212,6 @@ manaplus_SOURCES += events/actionevent.h \
gui/rect.h \
events/selectionevent.h \
listeners/selectionlistener.h \
- listeners/shoprenamelistener.cpp \
- listeners/shoprenamelistener.h \
listeners/statlistener.cpp \
listeners/statlistener.h \
listeners/tablemodellistener.h \
@@ -1350,6 +1348,8 @@ manaplus_SOURCES += gui/windows/bankwindow.cpp \
listeners/buyingstoreslotslistener.h \
listeners/pincodelistener.cpp \
listeners/pincodelistener.h \
+ listeners/shoprenamelistener.cpp \
+ listeners/shoprenamelistener.h \
net/eathena/adminhandler.cpp \
net/eathena/adminhandler.h \
net/eathena/auctionhandler.cpp \
diff --git a/src/listeners/shoprenamelistener.h b/src/listeners/shoprenamelistener.h
index 4cafe9d0b..5b6ca3387 100644
--- a/src/listeners/shoprenamelistener.h
+++ b/src/listeners/shoprenamelistener.h
@@ -21,6 +21,8 @@
#ifndef LISTENERS_SHOPRENAMELISTENER_H
#define LISTENERS_SHOPRENAMELISTENER_H
+#ifdef EATHENA_SUPPORT
+
#include "listeners/actionlistener.h"
#include "localconsts.h"
@@ -45,4 +47,5 @@ class ShopRenameListener final : public ActionListener
extern ShopRenameListener shopRenameListener;
+#endif // EATHENA_SUPPORT
#endif // LISTENERS_SHOPRENAMELISTENER_H