sc_sock windows, move Ws2tcpip.h in front of windows.h

This commit is contained in:
tezc 2021-04-15 01:36:48 +03:00
parent c3010e0d12
commit 9250f22d7c

View File

@ -39,9 +39,10 @@
#endif
#if defined(_WIN32) || defined(_WIN64)
#include <Ws2tcpip.h>
#include <windows.h>
#include <winsock2.h>
#include <Ws2tcpip.h>
#pragma comment(lib, "ws2_32.lib")
typedef SOCKET sc_sock_int;