From ff704d8ed0cb64eae66957f6ed70190a130bebd4 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Mon, 27 Sep 2010 12:25:37 +0000 Subject: [PATCH] Suppress use of typeof with the IBM compiler - it appears not to work? [SVN r65629] --- include/boost/type_traits/common_type.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/type_traits/common_type.hpp b/include/boost/type_traits/common_type.hpp index f316ad9..58525fd 100644 --- a/include/boost/type_traits/common_type.hpp +++ b/include/boost/type_traits/common_type.hpp @@ -14,6 +14,9 @@ #ifdef __SUNPRO_CC # define BOOST_COMMON_TYPE_DONT_USE_TYPEOF #endif +#ifdef __IBMCPP__ +# define BOOST_COMMON_TYPE_DONT_USE_TYPEOF +#endif //----------------------------------------------------------------------------// #if defined(BOOST_NO_VARIADIC_TEMPLATES)