From ed54a9329921c1034a215e283932c129bdc23328 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 29 Jan 2002 12:56:11 +0000 Subject: [PATCH] Added BOOST_NO_CTYPE_FUNCTIONS fix for gcc 3.x [SVN r12548] --- include/boost/config/suffix.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index d0a94451..5028e40a 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -33,6 +33,14 @@ # define BOOST_HAS_LONG_LONG #endif +// GCC 3.x will clean up all of those nasty macro definitions that +// BOOST_NO_CTYPE_FUNCTIONS is intended to help work around, so undefine +// it under GCC 3.x. +#if defined(__GNUC__) && (__GNUC__ >= 3) && defined(BOOST_NO_CTYPE_FUNCTIONS) +# undef BOOST_NO_CTYPE_FUNCTIONS +#endif + + // // Assume any extensions are in namespace std:: unless stated otherwise: //