Merge pull request #1286 from ricnewton/master

Remove int typedefs and use stdint.h for windows.
This commit is contained in:
Pieter Hintjens 2015-01-05 15:01:06 +01:00
commit 4e9e719ff3

View File

@ -74,15 +74,6 @@ extern "C" {
#define ZMQ_DEFINED_STDINT 1
#if defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OPENVMS
# include <inttypes.h>
#elif defined _MSC_VER
typedef __int8 int8_t;
typedef __int16 int16_t;
typedef __int32 int32_t;
typedef __int64 int64_t;
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
#else
# include <stdint.h>
#endif