From 4dc42b58716645c3914c0267493ce2c25772d004 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 3 Oct 2002 23:23:54 +0000 Subject: [PATCH] changes from trunk merged to enable MIPSpro compilations [SVN r15699] --- include/boost/tuple/tuple.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/boost/tuple/tuple.hpp b/include/boost/tuple/tuple.hpp index 71d6dab..c129822 100644 --- a/include/boost/tuple/tuple.hpp +++ b/include/boost/tuple/tuple.hpp @@ -18,6 +18,13 @@ #ifndef BOOST_TUPLE_HPP #define BOOST_TUPLE_HPP +#if defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730 +// Work around a compiler bug. +// boost::python::tuple has to be seen by the compiler before the +// boost::tuple class template. +namespace boost { namespace python { class tuple; }} +#endif + #include "boost/config.hpp" #include "boost/static_assert.hpp"