Fixed: Target at least Windows 2000

This commit is contained in:
kervala 2015-12-23 14:47:11 +01:00
parent 92035e59b2
commit c25320a998
5 changed files with 14 additions and 14 deletions

View file

@ -26,13 +26,13 @@
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
#endif #endif
#ifndef _WIN32_WINDOWS #ifndef _WIN32_WINDOWS
# define _WIN32_WINDOWS 0x0410 # define _WIN32_WINDOWS 0x0500
#endif #endif
#ifndef _WIN32_WINNT #ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0400 # define _WIN32_WINNT 0x0500
#endif #endif
#ifndef WINVER #ifndef WINVER
# define WINVER 0x0400 # define WINVER 0x0500
#endif #endif
#ifndef NOMINMAX #ifndef NOMINMAX
# define NOMINMAX # define NOMINMAX

View file

@ -31,13 +31,13 @@
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
#endif #endif
#ifndef _WIN32_WINDOWS #ifndef _WIN32_WINDOWS
# define _WIN32_WINDOWS 0x0410 # define _WIN32_WINDOWS 0x0500
#endif #endif
#ifndef _WIN32_WINNT #ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0400 # define _WIN32_WINNT 0x0500
#endif #endif
#ifndef WINVER #ifndef WINVER
# define WINVER 0x0400 # define WINVER 0x0500
#endif #endif
#ifndef NOMINMAX #ifndef NOMINMAX
# define NOMINMAX # define NOMINMAX

View file

@ -25,13 +25,13 @@
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
#endif #endif
#ifndef _WIN32_WINDOWS #ifndef _WIN32_WINDOWS
# define _WIN32_WINDOWS 0x0410 # define _WIN32_WINDOWS 0x0500
#endif #endif
#ifndef _WIN32_WINNT #ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0400 # define _WIN32_WINNT 0x0500
#endif #endif
#ifndef WINVER #ifndef WINVER
# define WINVER 0x0400 # define WINVER 0x0500
#endif #endif
#ifndef NOMINMAX #ifndef NOMINMAX
# define NOMINMAX # define NOMINMAX

View file

@ -46,12 +46,12 @@
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
# define _WIN32_WINDOWS 0x0410 # define _WIN32_WINDOWS 0x0500
# ifndef _WIN32_WINNT # ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0400 # define _WIN32_WINNT 0x0500
# endif # endif
# ifndef NL_COMP_MINGW # ifndef NL_COMP_MINGW
# define WINVER 0x0400 # define WINVER 0x0500
# define NOMINMAX # define NOMINMAX
# endif # endif
# include <WinSock2.h> # include <WinSock2.h>

View file

@ -17,9 +17,9 @@
#include "nel/misc/types_nl.h" #include "nel/misc/types_nl.h"
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
# define _WIN32_WINDOWS 0x0410 # define _WIN32_WINDOWS 0x0500
# ifndef NL_COMP_MINGW # ifndef NL_COMP_MINGW
# define WINVER 0x0400 # define WINVER 0x0500
# define NOMINMAX # define NOMINMAX
# endif # endif
# include <winsock2.h> # include <winsock2.h>