summaryrefslogtreecommitdiff
path: root/src/net/tmwa/mailhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 21:19:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 21:19:19 +0300
commitb3fb42d3225282bc146847488a74536953a2d726 (patch)
tree8646eb17fc496ced06805a4878f911be11e4ba5e /src/net/tmwa/mailhandler.h
parentb96242e1d5a6af71e6f884596f77268743945c63 (diff)
downloadmanaplus-b3fb42d3225282bc146847488a74536953a2d726.tar.gz
manaplus-b3fb42d3225282bc146847488a74536953a2d726.tar.bz2
manaplus-b3fb42d3225282bc146847488a74536953a2d726.tar.xz
manaplus-b3fb42d3225282bc146847488a74536953a2d726.zip
Build mailhandler only if eathena enabled.
Diffstat (limited to 'src/net/tmwa/mailhandler.h')
-rw-r--r--src/net/tmwa/mailhandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/tmwa/mailhandler.h b/src/net/tmwa/mailhandler.h
index c891f484f..26e50eafb 100644
--- a/src/net/tmwa/mailhandler.h
+++ b/src/net/tmwa/mailhandler.h
@@ -21,6 +21,8 @@
#ifndef NET_TMWA_MAILHANDLER_H
#define NET_TMWA_MAILHANDLER_H
+#ifdef EATHENA_SUPPORT
+
#include "net/mailhandler.h"
#include "net/tmwa/messagehandler.h"
@@ -58,4 +60,5 @@ class MailHandler final : public MessageHandler, public Net::MailHandler
} // namespace TmwAthena
+#endif // EATHENA_SUPPORT
#endif // NET_TMWA_MAILHANDLER_H