Use lowercase includes under MinGW.
GitOrigin-RevId: e3d10420725def0b9b05ecea0aecfffaa2d13ce9
This commit is contained in:
parent
9ff056e77f
commit
2b685a2396
@ -33,11 +33,20 @@
|
||||
#define _CRT_SECURE_NO_WARNINGS
|
||||
#endif
|
||||
|
||||
#include <WinSock2.h>
|
||||
#include <WS2tcpip.h>
|
||||
#ifdef __MINGW32__
|
||||
#include <winsock2.h>
|
||||
#include <ws2tcpip.h>
|
||||
|
||||
#include <mswsock.h>
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <WinSock2.h>
|
||||
#include <WS2tcpip.h>
|
||||
|
||||
#include <MSWSock.h>
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
#include <MSWSock.h>
|
||||
#include <Windows.h>
|
||||
#undef ERROR
|
||||
#endif
|
||||
// clang-format on
|
||||
|
@ -45,7 +45,11 @@
|
||||
#ifndef PSAPI_VERSION
|
||||
#define PSAPI_VERSION 1
|
||||
#endif
|
||||
#ifdef __MINGW32__
|
||||
#include <psapi.h>
|
||||
#else
|
||||
#include <Psapi.h>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user