Fix compilation on MSVC 2008 which doesn't bundle stdint.h

Thanks to Steve Ridout for the patch. Fixes #69.
v0.6
Ryan Dahl 13 years ago
parent 2498961231
commit 3cf68f9a70

@ -28,7 +28,7 @@ extern "C" {
#define HTTP_PARSER_VERSION_MINOR 0
#include <sys/types.h>
#if defined(_WIN32) && !defined(__MINGW32__) && !defined(_MSC_VER)
#if defined(_WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) || _MSC_VER<1600)
typedef __int8 int8_t;
typedef unsigned __int8 uint8_t;
typedef __int16 int16_t;

Loading…
Cancel
Save