From b704d42fe41e041942ee270fac8dae1293411b7e Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 10 Apr 2002 20:56:35 +0000 Subject: [PATCH] Restore workaround for Compaq cxx and SGI CC (it is a generic EDG problem). [SVN r13438] --- include/boost/python/detail/config.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/python/detail/config.hpp b/include/boost/python/detail/config.hpp index 8b8bea42..c0cb41e2 100644 --- a/include/boost/python/detail/config.hpp +++ b/include/boost/python/detail/config.hpp @@ -81,7 +81,9 @@ # define BOOST_PYTHON_STATIC_LINK #endif -#if defined(__MWERKS__) +#if defined(__MWERKS__) \ + || (defined(__DECCXX_VER) && __DECCXX_VER <= 60590002) \ + || (defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730) # define BOOST_PYTHON_NO_TEMPLATE_EXPORT #endif