0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-01 02:27:49 +08:00

stdint.h is not available on all platforms

This commit is contained in:
Ivan Pechorin 2013-09-24 14:00:08 +04:00
parent b04df2c530
commit 8a931a7554
2 changed files with 3 additions and 1 deletions

View File

@ -62,6 +62,9 @@ typedef __int32 int32_t;
# ifndef uint16_t
typedef unsigned __int16 uint16_t;
# endif
# ifndef uint8_t
typedef unsigned __int8 uint8_t;
# endif
#else
# include <stdint.h>
#endif

View File

@ -22,7 +22,6 @@
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
#ifdef __cplusplus