aboutsummaryrefslogtreecommitdiff
path: root/common/container/change-tracking/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/container/change-tracking/driver.cxx')
-rw-r--r--common/container/change-tracking/driver.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/container/change-tracking/driver.cxx b/common/container/change-tracking/driver.cxx
index eaf23e1..78f7a7f 100644
--- a/common/container/change-tracking/driver.cxx
+++ b/common/container/change-tracking/driver.cxx
@@ -102,7 +102,10 @@ main (int argc, char* argv[])
if (i != ov.end ())
i = ov.end ();
-#ifndef _RWSTD_NO_CLASS_PARTIAL_SPEC
+ // Things are just really borken in Sun CC, no matter which STL
+ // you use.
+ //
+#ifndef __SUNPRO_CC
vector::const_reverse_iterator j (ov.rbegin ());
if (j != ov.rend ())
j = ov.rend ();