diff options
Diffstat (limited to 'lib/cpp/src/thrift/windows/config.h')
-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> |