Fix warning also for server.cpp, and fixed client.cpp

This commit is contained in:
Ryozuki 2017-03-12 14:49:18 +01:00
parent 79f5b26cf7
commit 84726547aa
2 changed files with 5 additions and 4 deletions

View file

@ -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>

View file

@ -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