diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-14 20:05:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-14 20:05:49 +0300 |
commit | 46454b631d5fd78e07bb292328526639539b7ce3 (patch) | |
tree | a26f228526e760bed88701e09c473cc13e85562a /src/net/netconsts.h | |
parent | 366ec0909c764257a19fcbcc17cfb3948c85e0a5 (diff) | |
download | mv-46454b631d5fd78e07bb292328526639539b7ce3.tar.gz mv-46454b631d5fd78e07bb292328526639539b7ce3.tar.bz2 mv-46454b631d5fd78e07bb292328526639539b7ce3.tar.xz mv-46454b631d5fd78e07bb292328526639539b7ce3.zip |
Move netconsts.h into const directory.
Diffstat (limited to 'src/net/netconsts.h')
-rw-r--r-- | src/net/netconsts.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/net/netconsts.h b/src/net/netconsts.h deleted file mode 100644 index 50b2349be..000000000 --- a/src/net/netconsts.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * The ManaPlus Client - * Copyright (C) 2013-2015 The ManaPlus Developers - * - * This file is part of The ManaPlus Client. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef NET_NETCONSTS_H -#define NET_NETCONSTS_H - -#if defined(__GXX_EXPERIMENTAL_CXX0X__) -#include <cstdint> -#else -#include <stdint.h> -#endif - -#ifdef TMWA_SUPPORT -static const uint16_t DEFAULT_PORT = 6901; -#else -static const uint16_t DEFAULT_PORT = 6900; -#endif - -#endif // NET_NETCONSTS_H |