summaryrefslogtreecommitdiff
path: root/src/const
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
commit3c404128c4669a1f4f190e20a89553677717fc50 (patch)
tree2db4e5031089c800c4e00fd6244e578f44a7c910 /src/const
parent89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff)
downloadplus-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz
plus-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2
plus-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz
plus-3c404128c4669a1f4f190e20a89553677717fc50.zip
Add missing comments into defines.
Diffstat (limited to 'src/const')
-rw-r--r--src/const/net/maxpacketversion.h4
-rw-r--r--src/const/net/net.h10
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