mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix warning also for server.cpp, and fixed client.cpp
This commit is contained in:
parent
79f5b26cf7
commit
84726547aa
|
@ -1,9 +1,10 @@
|
|||
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
||||
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
||||
#include <new>
|
||||
|
||||
#define _WIN32_WINNT 0x0501
|
||||
|
||||
#include <new>
|
||||
|
||||
#include <time.h>
|
||||
#include <stdlib.h> // qsort
|
||||
#include <stdarg.h>
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
/* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
|
||||
/* If you are missing that file, acquire a complete release at teeworlds.com. */
|
||||
|
||||
#define _WIN32_WINNT 0x0501
|
||||
|
||||
#include <base/math.h>
|
||||
#include <base/system.h>
|
||||
|
||||
|
@ -37,9 +40,6 @@
|
|||
#include "server.h"
|
||||
|
||||
#if defined(CONF_FAMILY_WINDOWS)
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue