1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +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

@ -23,10 +23,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "database-postgresql.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>
#else