diff options
author | cyy <cyyever@outlook.com> | 2019-01-12 20:11:08 +0800 |
---|---|---|
committer | cyy <cyyever@outlook.com> | 2019-01-22 10:36:18 +0800 |
commit | 6a01d46df606c239e59ed37e723f9bb1309870b4 (patch) | |
tree | ffdba0d3947a94887d4cc2e5958c1cd093c50799 /lib/cpp/src/thrift/windows | |
parent | bfdbd0344bd3ddf348985b51e02212e8092859d4 (diff) | |
download | thrift-6a01d46df606c239e59ed37e723f9bb1309870b4.tar.gz |
remove unused code
Diffstat (limited to 'lib/cpp/src/thrift/windows')
-rw-r--r-- | lib/cpp/src/thrift/windows/config.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/lib/cpp/src/thrift/windows/config.h b/lib/cpp/src/thrift/windows/config.h index 14a3f4f36..6a5fd195b 100644 --- a/lib/cpp/src/thrift/windows/config.h +++ b/lib/cpp/src/thrift/windows/config.h @@ -31,11 +31,6 @@ // Something that defines PRId64 is required to build #define HAVE_INTTYPES_H 1 -// VS2010 or later has stdint.h as does MinGW -#if (_MSC_VER >= 1600) || defined(__MINGW32__) -#define HAVE_STDINT_H 1 -#endif - #ifndef TARGET_WIN_XP #define TARGET_WIN_XP 1 #endif @@ -65,21 +60,7 @@ #define HAVE_GETTIMEOFDAY 1 #define HAVE_SYS_STAT_H 1 -// Must be using VS2010 or later, or boost, so that C99 types are defined in the global namespace -#ifdef HAVE_STDINT_H #include <stdint.h> -#else -#include <boost/cstdint.hpp> - -typedef boost::int64_t int64_t; -typedef boost::uint64_t uint64_t; -typedef boost::int32_t int32_t; -typedef boost::uint32_t uint32_t; -typedef boost::int16_t int16_t; -typedef boost::uint16_t uint16_t; -typedef boost::int8_t int8_t; -typedef boost::uint8_t uint8_t; -#endif #include <thrift/transport/PlatformSocket.h> #include <thrift/windows/GetTimeOfDay.h> |