diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-10 15:27:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-10 15:27:29 +0300 |
commit | 5c2d13948be74b6a66336af3a55179cf61788df4 (patch) | |
tree | 8b40a6950fb383970d45afe3c4e763a8d10b92ce /src/gui/windows | |
parent | e6c8c84cad923dd53861ef9b99bc6deb44e332a3 (diff) | |
download | manaplus-5c2d13948be74b6a66336af3a55179cf61788df4.tar.gz manaplus-5c2d13948be74b6a66336af3a55179cf61788df4.tar.bz2 manaplus-5c2d13948be74b6a66336af3a55179cf61788df4.tar.xz manaplus-5c2d13948be74b6a66336af3a55179cf61788df4.zip |
Fix compilation with different flags.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/buydialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/chatwindow.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/buydialog.cpp b/src/gui/windows/buydialog.cpp index 809ddf88a..2fbe58ed2 100644 --- a/src/gui/windows/buydialog.cpp +++ b/src/gui/windows/buydialog.cpp @@ -392,12 +392,14 @@ void BuyDialog::close() case Nick: case Items: break; +#ifdef EATHENA_SUPPORT case Market: marketHandler->close(); break; case Cash: cashShopHandler->close(); break; +#endif default: buySellHandler->close(); break; diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index 853d2a51c..b423767c5 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -2127,6 +2127,7 @@ void ChatWindow::debugMessage(const std::string &msg) debugChatTab->chatLog(msg, ChatMsgType::BY_SERVER); } +#ifdef EATHENA_SUPPORT void ChatWindow::joinRoom(const bool isJoin) { Tab *const tab = mChatTabs->getTabByIndex(0); @@ -2137,3 +2138,4 @@ void ChatWindow::joinRoom(const bool isJoin) name = _("General"); tab->setCaption(name); } +#endif diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index 479d7db6a..c6f9c0d43 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -209,7 +209,9 @@ class ChatWindow final : public Window, const bool switchTo, const bool join) A_WARN_UNUSED; +#ifdef EATHENA_SUPPORT void joinRoom(const bool isJoin); +#endif void removeAllWhispers(); |