From 3cf68f9a7065325bfbc69917a16245579940c226 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 13 Dec 2011 16:56:08 +0000 Subject: [PATCH] Fix compilation on MSVC 2008 which doesn't bundle stdint.h Thanks to Steve Ridout for the patch. Fixes #69. --- http_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_parser.h b/http_parser.h index 76a61f2..69f66d6 100644 --- a/http_parser.h +++ b/http_parser.h @@ -28,7 +28,7 @@ extern "C" { #define HTTP_PARSER_VERSION_MINOR 0 #include -#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;