Check defined(BOOST_MSVC)

This commit is contained in:
Vinnie Falco
2019-03-29 20:41:39 -07:00
parent a7faf03694
commit 4e90183bda
15 changed files with 15 additions and 14 deletions

View File

@@ -77,7 +77,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);