From 2c77a2b9c1bb645c73de51004e53b57b82d82172 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 12 Oct 2013 13:07:26 +0000 Subject: [PATCH] Fix mpl on MSVC. MSVC defines this macro to 0. [SVN r86263] --- include/boost/mpl/aux_/config/typeof.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/mpl/aux_/config/typeof.hpp b/include/boost/mpl/aux_/config/typeof.hpp index 2ac5e76..22713da 100644 --- a/include/boost/mpl/aux_/config/typeof.hpp +++ b/include/boost/mpl/aux_/config/typeof.hpp @@ -18,7 +18,7 @@ #if !defined(BOOST_MPL_CFG_HAS_TYPEOF) \ && !defined(BOOST_MPL_PREPROCESSING_MODE) \ - && ( defined(BOOST_MPL_CFG_GCC) \ + && ( defined(BOOST_MPL_CFG_GCC) && BOOST_MPL_CFG_GCC > 0 \ || defined(__MWERKS__) && __MWERKS__ >= 0x3000 \ )