Fix clang-cl UTF8 path handling for file_win32:

For file_win32, check _WIN32 instead of BOOST_MSVC

refs #2081
close #2354
This commit is contained in:
Peter Dimov
2021-12-07 20:14:46 +02:00
committed by Richard Hodges
parent b160673fd9
commit 2c06024aa3
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
Version XXX:
* Fix clang-cl UTF8 path handling for `file_win32`.
* Fix clang-cl UTF8 path handling for `file_stdio`.
* Add individual tests to CMake workflow.
* Update CI to include gcc 11, clang 12, msvc 14.3.

View File

@@ -13,7 +13,7 @@
#include <boost/beast/core/detail/config.hpp>
#if ! defined(BOOST_BEAST_USE_WIN32_FILE)
# ifdef BOOST_MSVC
# ifdef _WIN32
# define BOOST_BEAST_USE_WIN32_FILE 1
# else
# define BOOST_BEAST_USE_WIN32_FILE 0