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:
parent
80574cdbe8
commit
15445a0fbe
9 changed files with 2 additions and 52 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue