diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-23 22:01:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-23 22:01:44 +0300 |
commit | 3c404128c4669a1f4f190e20a89553677717fc50 (patch) | |
tree | 2db4e5031089c800c4e00fd6244e578f44a7c910 /src/const/net | |
parent | 89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff) | |
download | plus-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz plus-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2 plus-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz plus-3c404128c4669a1f4f190e20a89553677717fc50.zip |
Add missing comments into defines.
Diffstat (limited to 'src/const/net')
-rw-r--r-- | src/const/net/maxpacketversion.h | 4 | ||||
-rw-r--r-- | src/const/net/net.h | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/const/net/maxpacketversion.h b/src/const/net/maxpacketversion.h index 1fba13a3f..0fedd3ab5 100644 --- a/src/const/net/maxpacketversion.h +++ b/src/const/net/maxpacketversion.h @@ -23,9 +23,9 @@ #if defined(__GXX_EXPERIMENTAL_CXX0X__) #include <cstdint> -#else +#else // defined(__GXX_EXPERIMENTAL_CXX0X__) #include <stdint.h> -#endif +#endif // defined(__GXX_EXPERIMENTAL_CXX0X__) static const uint32_t maxPacketVersion = 20151001; diff --git a/src/const/net/net.h b/src/const/net/net.h index afa1f1bbf..d6d129047 100644 --- a/src/const/net/net.h +++ b/src/const/net/net.h @@ -23,14 +23,14 @@ #if defined(__GXX_EXPERIMENTAL_CXX0X__) #include <cstdint> -#else +#else // defined(__GXX_EXPERIMENTAL_CXX0X__) #include <stdint.h> -#endif +#endif // defined(__GXX_EXPERIMENTAL_CXX0X__) #ifdef TMWA_SUPPORT static const uint16_t DEFAULT_PORT = 6901; -#else -static const uint16_t DEFAULT_PORT = 6900; -#endif +#else // TMWA_SUPPORT +static const uint16_t DEFAULT_PORT = 6900; +#endif // TMWA_SUPPORT #endif // CONST_NET_NET_H |