forked from boostorg/system
Use BOOST_LIBSTDCXX_VERSION instead of BOOST_GCC; update syscat condition
This commit is contained in:
1 parent
a1cb578f52
commit
4b143cdacc
3 files changed
+6
-4
No files matched your search
@@ -575,7 +575,7 @@ public:
|
||||
else if( lc_flags_ == 0 )
|
||||
{
|
||||
// This condition must be the same as the one in error_category_impl.hpp
|
||||
#if defined(__CYGWIN__) || defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER == 1800) || (defined(BOOST_GCC) && BOOST_GCC < 50000)
|
||||
#if defined(__CYGWIN__) || defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER == 1800) || (defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION < 90000)
|
||||
|
||||
return std::error_code( 0, boost::system::system_category() );
|
||||
|
||||
|
||||
Reference in new issue
Block a user