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