mirror of
https://github.com/nodejs/http-parser.git
synced 2025-10-19 20:34:57 +08:00
Provide typedefs instead of using stdint.h on Windows.
This commit is contained in:

committed by
Ryan Dahl

parent
047ced3784
commit
24be793f64
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user