Merge pull request #681 from ipechorin/master

stdint.h is not available on all platforms
This commit is contained in:
Pieter Hintjens 2013-09-24 03:32:34 -07:00
commit 51fe8cfe52
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