From 7c312d358b76b419dc7b0ad7dcdb6314f9310e42 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Thu, 6 Jun 2002 21:57:16 +0000 Subject: [PATCH] work-around for mipspro linker problem. [SVN r14095] --- test/select_from_python_test.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/select_from_python_test.cpp b/test/select_from_python_test.cpp index 084f2e18..34018781 100644 --- a/test/select_from_python_test.cpp +++ b/test/select_from_python_test.cpp @@ -2,7 +2,9 @@ #include #include -#if defined(__GNUC__) && __GNUC__ < 3 // 2.95.x linker seems to demand this definition +// gcc 2.95.x and MIPSpro 7.3.1.3 linker seem to demand this definition +#if ((defined(__GNUC__) && __GNUC__ < 3)) \ + || (defined(__sgi) && defined(__EDG_VERSION__) && (__EDG_VERSION__ == 238)) namespace boost { namespace python { BOOST_PYTHON_DECL bool handle_exception_impl(function0) {