mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-06 03:19:00 +08:00
commit
2d5bad96e3
@ -22,9 +22,22 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
/* Define integer types needed for event interface */
|
||||||
|
#if defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OPENVMS
|
||||||
|
# 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
|
||||||
|
#else
|
||||||
|
# include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user