mirror of
https://github.com/boostorg/beast.git
synced 2026-05-04 19:54:13 +02:00
Check defined(BOOST_MSVC)
This commit is contained in:
@@ -88,7 +88,7 @@ path_cat(
|
||||
if(base.empty())
|
||||
return std::string(path);
|
||||
std::string result(base);
|
||||
#if BOOST_MSVC
|
||||
#ifdef BOOST_MSVC
|
||||
char constexpr path_separator = '\\';
|
||||
if(result.back() == path_separator)
|
||||
result.resize(result.size() - 1);
|
||||
|
||||
@@ -83,7 +83,7 @@ path_cat(
|
||||
if(base.empty())
|
||||
return std::string(path);
|
||||
std::string result(base);
|
||||
#if BOOST_MSVC
|
||||
#ifdef BOOST_MSVC
|
||||
char constexpr path_separator = '\\';
|
||||
if(result.back() == path_separator)
|
||||
result.resize(result.size() - 1);
|
||||
|
||||
Reference in New Issue
Block a user