forked from boostorg/system
Disable constexpr on msvc-14.1
This commit is contained in:
@ -58,6 +58,12 @@
|
||||
# undef BOOST_SYSTEM_HAS_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_MSVC) && BOOST_MSVC < 1920
|
||||
// msvc-14.1 does not implement correct static initialization for
|
||||
// classes with constexpr constructors
|
||||
# undef BOOST_SYSTEM_HAS_CONSTEXPR
|
||||
#endif
|
||||
|
||||
#if defined(BOOST_SYSTEM_HAS_CONSTEXPR)
|
||||
# define BOOST_SYSTEM_CONSTEXPR constexpr
|
||||
#else
|
||||
|
Reference in New Issue
Block a user