diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index b0e96617..1a492e64 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -634,6 +634,12 @@ namespace std{ using ::type_info; } # endif #endif +// +// Set BOOST_NO_DECLTYPE_N3276 when BOOST_NO_DECLTYPE is defined +// +#if defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_DECLTYPE_N3276) +#define BOOST_NO_CXX11_DECLTYPE_N3276 BOOST_NO_CXX11_DECLTYPE +#endif // -------------------- Deprecated macros for 1.50 --------------------------- // These will go away in a future release @@ -893,13 +899,5 @@ namespace std{ using ::type_info; } #define BOOST_HAS_VARIADIC_TMPL #endif -// -// Set BOOST_NO_DECLTYPE_N3276 when BOOST_NO_DECLTYPE is defined -// -#if !defined(BOOST_NO_DECLTYPE_N3276) && defined(BOOST_NO_DECLTYPE) -#define BOOST_NO_DECLTYPE_N3276 -#endif - - #endif