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/ea/traderecv.h | |
parent | 0a28f5ebc09ae69bdea686e14e101e5d15825404 (diff) | |
download | manaplus-4883dd7ab5b00eecab25666ba0a73e048a4a024f.tar.gz manaplus-4883dd7ab5b00eecab25666ba0a73e048a4a024f.tar.bz2 manaplus-4883dd7ab5b00eecab25666ba0a73e048a4a024f.tar.xz manaplus-4883dd7ab5b00eecab25666ba0a73e048a4a024f.zip |
Fix compilation with old compilers and without C++11 flags.
Diffstat (limited to 'src/net/ea/traderecv.h')
-rw-r--r-- | src/net/ea/traderecv.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |