mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 08:03:52 +00:00
Fixup f626a2d (more expansive _WIN32_WINNT value check)
Just in case _WIN32_WINNT doesn't exactly match _WIN32_WINNT_WINXP (0x0501) when building.
This commit is contained in:
parent
f626a2dd31
commit
f7f2da45d4
@ -16,7 +16,7 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
#if _WIN32_WINNT == _WIN32_WINNT_WINXP
|
||||
#if _WIN32_WINNT < _WIN32_WINNT_VISTA
|
||||
#define BOOST_ASIO_DISABLE_IOCP
|
||||
#endif
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
// gethostbyname in socket_ops.ipp. This define silences that.
|
||||
#define _WINSOCK_DEPRECATED_NO_WARNINGS
|
||||
|
||||
#if _WIN32_WINNT == _WIN32_WINNT_WINXP
|
||||
#if _WIN32_WINNT < _WIN32_WINNT_VISTA
|
||||
#define BOOST_ASIO_DISABLE_IOCP
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user