From c3f16e38347fe02fd51e2fb9ab4abbbb7557f196 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 5 Feb 2005 13:12:23 +0000 Subject: [PATCH] SunPro test program fix. [SVN r27147] --- test/regress/test.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/regress/test.hpp b/test/regress/test.hpp index c4840aaf..712abd4a 100644 --- a/test/regress/test.hpp +++ b/test/regress/test.hpp @@ -221,7 +221,9 @@ void test_unicode(); // template instances: // we pretty much have to instantiate these separately // otherwise compilation times are really excessive... +// Unfortunately this doesn't work with SunPro: // +#ifndef __SUNPRO_CC #ifndef BOOST_REGEX_TEST_INSTANCES #define template template<> #endif @@ -239,5 +241,6 @@ template void test(const wchar_t&, const test_i #ifndef BOOST_REGEX_TEST_INSTANCES #undef template #endif +#endif #endif