Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

header: treat Wine like MinGW #259

Closed
wants to merge 10 commits into from
4 changes: 2 additions & 2 deletions http_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extern "C" {
#define HTTP_PARSER_VERSION_PATCH 0

#include <sys/types.h>
#if defined(_WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) || _MSC_VER<1600)
#if defined(_WIN32) && !defined(__MINGW32__) && (!defined(_MSC_VER) || _MSC_VER<1600) && !defined(__WINE__)

This comment was marked as off-topic.

#include <BaseTsd.h>
#include <stddef.h>
typedef __int8 int8_t;
Expand Down Expand Up @@ -144,7 +144,7 @@ enum flags


/* Map for errno-related constants
*
*

This comment was marked as off-topic.

* The provided argument should be a macro that takes 2 arguments.
*/
#define HTTP_ERRNO_MAP(XX) \
Expand Down