Use BOOST_WORKAROUND when checking compiler level

This commit is contained in:
James E. King III
2022-05-01 07:49:04 -04:00
committed by Jim King
parent 4634ef904e
commit bd4ec497a8

View File

@@ -184,7 +184,7 @@ template< typename P > struct assert_arg_pred_not
typedef typename assert_arg_pred_impl<p>::type type;
};
#if defined(BOOST_GCC_VERSION) && BOOST_GCC_VERSION >= 80000
#if BOOST_WORKAROUND(BOOST_GCC_VERSION, >= 80000)
#define BOOST_MPL_IGNORE_PARENTHESES_WARNING
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wparentheses"