From da98d12637db106b87341560cc72ca6207b2d12f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Sep 2014 16:51:36 +0300 Subject: Add configure and cmake option to enable/disable compilation for tmwa/evol. Tmwa/evol by default enabled. --- src/net/netconsts.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/net/netconsts.h') 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 #endif +#ifdef EATHENA_SUPPORT +static const uint16_t DEFAULT_PORT = 6900; +#else static const uint16_t DEFAULT_PORT = 6901; +#endif #endif // NET_NETCONSTS_H -- cgit v1.2.3-60-g2f50