summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-09 01:58:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-09 01:58:56 +0300
commit95413709e41e1442ad51caa5e33b08ce6adb3887 (patch)
tree806bad9433c4565a5bc1374361815844f162d902 /src
parent92014f8bc11c3c27da8264bf3dd835ab6ae99e20 (diff)
downloadmv-95413709e41e1442ad51caa5e33b08ce6adb3887.tar.gz
mv-95413709e41e1442ad51caa5e33b08ce6adb3887.tar.bz2
mv-95413709e41e1442ad51caa5e33b08ce6adb3887.tar.xz
mv-95413709e41e1442ad51caa5e33b08ce6adb3887.zip
fix compilation without C++11 flags.
Diffstat (limited to 'src')
-rw-r--r--src/net/netconsts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/netconsts.h b/src/net/netconsts.h
index 0af23b8a9..00c91fda5 100644
--- a/src/net/netconsts.h
+++ b/src/net/netconsts.h
@@ -21,7 +21,12 @@
#ifndef NET_NETCONSTS_H
#define NET_NETCONSTS_H
+#if defined(__GXX_EXPERIMENTAL_CXX0X__)
#include <cstdint>
+#else
+#include <stdint.h>
+#endif
+
static const uint16_t DEFAULT_PORT = 6901;
#endif // NET_NETCONSTS_H