From e65ec6d1692c2bc905ee9dd58905ed6dc507a9b4 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 29 Jun 2010 16:02:13 +0000 Subject: [PATCH] Patch for macro redefinitions. Fixes #4385. [SVN r63439] --- include/boost/config/compiler/gcc.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/boost/config/compiler/gcc.hpp b/include/boost/config/compiler/gcc.hpp index 3ba45ddd..54f1bb98 100644 --- a/include/boost/config/compiler/gcc.hpp +++ b/include/boost/config/compiler/gcc.hpp @@ -135,8 +135,12 @@ // #if __GNUC__ * 100 + __GNUC_MINOR__ >= 403 # ifndef __GXX_RTTI -# define BOOST_NO_TYPEID -# define BOOST_NO_RTTI +# ifndef BOOST_NO_TYPEID +# define BOOST_NO_TYPEID +# endif +# ifndef BOOST_NO_RTTI +# define BOOST_NO_RTTI +# endif # endif #endif