summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.cpp4
-rw-r--r--src/net/tmwa/guildmanager.cpp3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.cpp b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
index e6ca1c498..4c4401242 100644
--- a/src/gui/widgets/tabs/chat/emulateguildtab.cpp
+++ b/src/gui/widgets/tabs/chat/emulateguildtab.cpp
@@ -20,6 +20,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef TMWA_SUPPORT
+
#include "gui/widgets/tabs/chat/emulateguildtab.h"
#include "configuration.h"
@@ -102,3 +104,5 @@ void EmulateGuildTab::optionChanged(const std::string &value)
if (value == "showGuildOnline")
mShowOnline = config.getBoolValue("showGuildOnline");
}
+
+#endif // TMWA_SUPPORT
diff --git a/src/net/tmwa/guildmanager.cpp b/src/net/tmwa/guildmanager.cpp
index 1589b8423..c8aa27690 100644
--- a/src/net/tmwa/guildmanager.cpp
+++ b/src/net/tmwa/guildmanager.cpp
@@ -18,6 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef TMWA_SUPPORT
#include "net/tmwa/guildmanager.h"
#include "actormanager.h"
@@ -548,3 +549,5 @@ ChatTab *GuildManager::getTab()
{
return mTab;
}
+
+#endif // TMWA_SUPPORT