diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-14 16:51:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-14 16:51:36 +0300 |
commit | da98d12637db106b87341560cc72ca6207b2d12f (patch) | |
tree | c79f1c3389f38ec878fc2dfc4729839242e2e81c /src/net/netconsts.h | |
parent | 8a616021cbefff5f62b0ca55cf535130c8c1b5f0 (diff) | |
download | manaplus-da98d12637db106b87341560cc72ca6207b2d12f.tar.gz manaplus-da98d12637db106b87341560cc72ca6207b2d12f.tar.bz2 manaplus-da98d12637db106b87341560cc72ca6207b2d12f.tar.xz manaplus-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.h | 4 |
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 |