mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-17 16:43:58 +00:00
don't include stdint.h on msc < 1600
where stdint.h is unavailable (see stdint.hpp for the same check)
This commit is contained in:
parent
e8095071d9
commit
0f684ac16c
@ -74,6 +74,16 @@ extern "C" {
|
|||||||
#define ZMQ_DEFINED_STDINT 1
|
#define ZMQ_DEFINED_STDINT 1
|
||||||
#if defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OPENVMS
|
#if defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OPENVMS
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
|
#elif defined _MSC_VER && _MSC_VER < 1600
|
||||||
|
# ifndef int32_t
|
||||||
|
typedef __int32 int32_t;
|
||||||
|
# endif
|
||||||
|
# ifndef uint16_t
|
||||||
|
typedef unsigned __int16 uint16_t;
|
||||||
|
# endif
|
||||||
|
# ifndef uint8_t
|
||||||
|
typedef unsigned __int8 uint8_t;
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user