diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-14 22:36:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-14 22:36:19 +0300 |
commit | 4883dd7ab5b00eecab25666ba0a73e048a4a024f (patch) | |
tree | 3cb6aa29022b4c33f1e9289477af6f412e6a19e1 /src/net | |
parent | 0a28f5ebc09ae69bdea686e14e101e5d15825404 (diff) | |
download | plus-4883dd7ab5b00eecab25666ba0a73e048a4a024f.tar.gz plus-4883dd7ab5b00eecab25666ba0a73e048a4a024f.tar.bz2 plus-4883dd7ab5b00eecab25666ba0a73e048a4a024f.tar.xz plus-4883dd7ab5b00eecab25666ba0a73e048a4a024f.zip |
Fix compilation with old compilers and without C++11 flags.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/chatrecv.h | 2 | ||||
-rw-r--r-- | src/net/ea/traderecv.h | 8 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/net/ea/chatrecv.h b/src/net/ea/chatrecv.h index 07efc1e99..374d6c12a 100644 --- a/src/net/ea/chatrecv.h +++ b/src/net/ea/chatrecv.h @@ -27,6 +27,8 @@ #if defined(__APPLE__) #include <tr1/cstdint> #endif // defined(__APPLE__) +#else // defined(__GXX_EXPERIMENTAL_CXX0X__) +#include <stdint.h> #endif // defined(__GXX_EXPERIMENTAL_CXX0X__) #include <string> diff --git a/src/net/ea/traderecv.h b/src/net/ea/traderecv.h index c4ded8aa7..a1f7976fb 100644 --- a/src/net/ea/traderecv.h +++ b/src/net/ea/traderecv.h @@ -23,6 +23,14 @@ #ifndef NET_EA_TRADERECV_H #define NET_EA_TRADERECV_H +#if defined(__GXX_EXPERIMENTAL_CXX0X__) +#if defined(__APPLE__) +#include <tr1/cstdint> +#endif // defined(__APPLE__) +#else // defined(__GXX_EXPERIMENTAL_CXX0X__) +#include <stdint.h> +#endif // defined(__GXX_EXPERIMENTAL_CXX0X__) + #include <string> namespace Net |