Missing <winerror.h> on win7/MinGW(MINGW32_NT-6.1)/MSYS

This commit is contained in:
yuangongji 2019-07-03 00:27:22 +08:00 committed by Azat Khuzhin
parent 669a53f341
commit 7806f3ec78
No known key found for this signature in database
GPG Key ID: B86086848EF8686D
6 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,7 @@
#ifdef _WIN32
#include <wincrypt.h>
#include <process.h>
#include <winerror.h>
#else
#include <fcntl.h>
#include <unistd.h>

View File

@ -44,6 +44,7 @@
#include "mm-internal.h"
#include <winsock2.h>
#include <winerror.h>
#include <windows.h>
#include <stdio.h>

View File

@ -46,6 +46,7 @@
#ifdef _WIN32
#include <winsock2.h>
#include <winerror.h>
#include <ws2tcpip.h>
#endif

View File

@ -77,6 +77,7 @@
#include <stdarg.h>
#ifdef _WIN32
#include <winsock2.h>
#include <winerror.h>
#include <ws2tcpip.h>
#ifndef _WIN32_IE
#define _WIN32_IE 0x400

View File

@ -29,6 +29,7 @@
#ifdef _WIN32
#include <winsock2.h>
#include <winerror.h>
#include <ws2tcpip.h>
#define WIN32_LEAN_AND_MEAN
#include <windows.h>

View File

@ -35,6 +35,7 @@
#define _WIN32_WINNT 0x0403
#endif
#include <winsock2.h>
#include <winerror.h>
#include <ws2tcpip.h>
#include <mswsock.h>
#endif