Provide typedefs instead of using stdint.h on Windows.

This commit is contained in:
Ewen Cheslack-Postava
2010-11-03 00:51:37 -07:00
committed by Ryan Dahl
parent 047ced3784
commit 24be793f64
2 changed files with 11 additions and 12 deletions

View File

@@ -19,16 +19,6 @@
* IN THE SOFTWARE.
*/
#include <http_parser.h>
#ifdef _WIN32
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef __int16 int32_t;
typedef unsigned __int32 uint32_t;
#else
#include <stdint.h>
#endif
#include <assert.h>
#include <stddef.h>