1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Raise and clean up _WIN32_WINNT constant

This commit is contained in:
sfan5 2023-05-03 12:54:42 +02:00
parent 80574cdbe8
commit 15445a0fbe
9 changed files with 2 additions and 52 deletions

View file

@ -31,10 +31,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "log.h"
#ifdef _WIN32
// Without this some of the network functions are not found on mingw
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>