summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
-rw-r--r--src/Makefile.am4
-rw-r--r--src/gui/windows/eggselectiondialog.h3
3 files changed, 7 insertions, 4 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9e9083d42..48ae4792a 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -355,8 +355,6 @@ SET(SRCS
gui/windows/editdialog.h
gui/windows/editserverdialog.cpp
gui/windows/editserverdialog.h
- gui/windows/eggselectiondialog.cpp
- gui/windows/eggselectiondialog.h
gui/windows/emotewindow.cpp
gui/windows/emotewindow.h
gui/windows/equipmentwindow.cpp
@@ -1414,6 +1412,8 @@ SET(SRCS_EATHENA
gui/windows/bankwindow.h
gui/windows/buyingstoreselldialog.cpp
gui/windows/buyingstoreselldialog.h
+ gui/windows/eggselectiondialog.cpp
+ gui/windows/eggselectiondialog.h
net/eathena/adminhandler.cpp
net/eathena/adminhandler.h
net/eathena/auctionhandler.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index 95e64a21d..4f748735f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -485,8 +485,6 @@ manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
gui/windows/editdialog.h \
gui/windows/editserverdialog.cpp \
gui/windows/editserverdialog.h \
- gui/windows/eggselectiondialog.cpp \
- gui/windows/eggselectiondialog.h \
gui/windows/emotewindow.cpp \
gui/windows/emotewindow.h \
gui/windows/equipmentwindow.cpp \
@@ -1350,6 +1348,8 @@ manaplus_SOURCES += gui/windows/bankwindow.cpp \
gui/windows/bankwindow.h \
gui/windows/buyingstoreselldialog.cpp \
gui/windows/buyingstoreselldialog.h \
+ gui/windows/eggselectiondialog.cpp \
+ gui/windows/eggselectiondialog.h \
net/eathena/adminhandler.cpp \
net/eathena/adminhandler.h \
net/eathena/auctionhandler.cpp \
diff --git a/src/gui/windows/eggselectiondialog.h b/src/gui/windows/eggselectiondialog.h
index 258658d0a..2f5490e0d 100644
--- a/src/gui/windows/eggselectiondialog.h
+++ b/src/gui/windows/eggselectiondialog.h
@@ -23,6 +23,8 @@
#ifndef GUI_WINDOWS_EGGSELECTIONDIALOG_H
#define GUI_WINDOWS_EGGSELECTIONDIALOG_H
+#ifdef EATHENA_SUPPORT
+
#include "gui/widgets/selldialog.h"
class EggSelectionDialog final : public SellDialog
@@ -42,4 +44,5 @@ class EggSelectionDialog final : public SellDialog
void sellAction(const ActionEvent &event) override final;
};
+#endif // EATHENA_SUPPORT
#endif // GUI_WINDOWS_EGGSELECTIONDIALOG_H