diff options
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 |