Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only define BOOST_ASIO_DISABLE_IOCP on Windows XP
That define allows boost::asio::ip::tcp::socket::cancel to work on Windows XP, but there's no reason to have it enabled on other Windows versions.
- Loading branch information
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f626a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not at all sure whether this will work correctly. There is no guarantee that @loonycyborg would set
_WIN32_WINNT
to exactly0x0501
while compiling the Windows build.f626a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps I should use
< _WIN32_WINNT_VISTA
then?f626a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean
< _WIN32_WINNT_VISTA
?Yes, I think that would be reliable.
f626a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer a #error and declare the platform unsupported. Quick .. raise a hand .. does anyone other than I even have an XT VM laying around for regression testing in case a user actually tries running on XT and hits a problem?
f626a2d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not "officially" dropping XP support until after 1.14, but we also aren't advertising it as supported anymore either.