Skip to content

Commit

Permalink
Fixup f626a2d (more expansive _WIN32_WINNT value check)
Browse files Browse the repository at this point in the history
Just in case _WIN32_WINNT doesn't exactly match _WIN32_WINNT_WINXP (0x0501) when building.
  • Loading branch information
Vultraz committed Nov 16, 2017
1 parent f626a2d commit f7f2da4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/network_asio.hpp
Expand Up @@ -16,7 +16,7 @@

#ifdef _WIN32

#if _WIN32_WINNT == _WIN32_WINNT_WINXP
#if _WIN32_WINNT < _WIN32_WINNT_VISTA
#define BOOST_ASIO_DISABLE_IOCP
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/wesnothd_connection.hpp
Expand Up @@ -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

Expand Down

0 comments on commit f7f2da4

Please sign in to comment.