Fixed VS compilation (without WIN32_LEAN_AND_MEAN

VS defines MAX_PRIORITY as a macro).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/uni@14384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2013-11-04 09:58:24 +00:00
parent 0be530faf0
commit c0783283e0
3 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,7 @@
# include <unistd.h>
# endif
# define _WINSOCKAPI_
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# ifdef _MSC_VER
# include <direct.h>

View File

@ -25,6 +25,7 @@
#include "network/types.hpp"
#include "network/network_string.hpp"
#define WIN32_LEAN_AND_MEAN
#include <enet/enet.h>
#include <pthread.h>

View File

@ -21,6 +21,7 @@
#include <stdexcept>
#ifdef WIN32
# define WIN32_LEAN_AND_MEAN
# define _WINSOCKAPI_
# include <windows.h>
# include <time.h>