mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Update7 for MSVC10
When compiling with MSVC10, client support must be limited to XP.
This commit is contained in:
@ -44,7 +44,13 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
|||||||
#if HS_BUILD_FOR_WIN32
|
#if HS_BUILD_FOR_WIN32
|
||||||
|
|
||||||
#ifndef __AFX_H__ // MFC apps won't let us include windows from here. =(
|
#ifndef __AFX_H__ // MFC apps won't let us include windows from here. =(
|
||||||
#define _WIN32_WINNT 0x0400
|
|
||||||
|
#if defined(_MSC_VER) && _MSC_VER >= 1600
|
||||||
|
#define _WIN32_WINNT 0x0501
|
||||||
|
#else
|
||||||
|
#define _WIN32_WINNT 0x0400
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <WinSock2.h>
|
#include <WinSock2.h>
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
#endif // __AFX_H__
|
#endif // __AFX_H__
|
||||||
|
Reference in New Issue
Block a user