Update win.h

This commit is contained in:
Stjepan Glavina 2020-06-19 14:28:55 +02:00 committed by GitHub
parent b1b70da093
commit 4f62880f34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,9 +24,15 @@
#pragma warning(push, 1)
#endif
#ifdef __MINGW32__
#include <ws2tcpip.h>
#include <winsock2.h>
#include <windows.h>
#else
#include <WS2tcpip.h>
#include <WinSock2.h>
#include <Windows.h>
#endif
#ifndef __GNUC__
#pragma warning(pop)