Commit 51fe8cfe authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #681 from ipechorin/master

stdint.h is not available on all platforms
parents 5f0a8dcf b504aad1
...@@ -62,6 +62,9 @@ typedef __int32 int32_t; ...@@ -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 @@ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment