summaryrefslogtreecommitdiff
path: root/src/net/netconsts.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-14 16:51:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-14 16:51:36 +0300
commitda98d12637db106b87341560cc72ca6207b2d12f (patch)
treec79f1c3389f38ec878fc2dfc4729839242e2e81c /src/net/netconsts.h
parent8a616021cbefff5f62b0ca55cf535130c8c1b5f0 (diff)
downloadplus-da98d12637db106b87341560cc72ca6207b2d12f.tar.gz
plus-da98d12637db106b87341560cc72ca6207b2d12f.tar.bz2
plus-da98d12637db106b87341560cc72ca6207b2d12f.tar.xz
plus-da98d12637db106b87341560cc72ca6207b2d12f.zip
Add configure and cmake option to enable/disable compilation for tmwa/evol.
Tmwa/evol by default enabled.
Diffstat (limited to 'src/net/netconsts.h')
-rw-r--r--src/net/netconsts.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/netconsts.h b/src/net/netconsts.h
index 1ea1c579e..1977698ea 100644
--- a/src/net/netconsts.h
+++ b/src/net/netconsts.h
@@ -27,6 +27,10 @@
#include <stdint.h>
#endif
+#ifdef EATHENA_SUPPORT
+static const uint16_t DEFAULT_PORT = 6900;
+#else
static const uint16_t DEFAULT_PORT = 6901;
+#endif
#endif // NET_NETCONSTS_H