mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-21 06:59:38 +08:00
stdint.h is not available on all platforms
This commit is contained in:
parent
b04df2c530
commit
8a931a7554
@ -62,6 +62,9 @@ typedef __int32 int32_t;
|
|||||||
# ifndef uint16_t
|
# ifndef uint16_t
|
||||||
typedef unsigned __int16 uint16_t;
|
typedef unsigned __int16 uint16_t;
|
||||||
# endif
|
# endif
|
||||||
|
# ifndef uint8_t
|
||||||
|
typedef unsigned __int8 uint8_t;
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# include <stdint.h>
|
# include <stdint.h>
|
||||||
#endif
|
#endif
|
||||||
|
@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdint.h>
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user