sunpro: don't apply rwstd fixes if we are using an other stl.

This commit is contained in:
Marc Glisse 2006-02-25 23:34:11 +00:00
parent f9e7d81429
commit 8e7b64682b
1 changed files with 5 additions and 1 deletions

View File

@ -24,6 +24,8 @@
#ifndef CGAL_SUN_FIXES_H #ifndef CGAL_SUN_FIXES_H
#define CGAL_SUN_FIXES_H 1 #define CGAL_SUN_FIXES_H 1
#ifdef CGAL_CFG_SUNPRO_RWSTD
//----------------------------------------------------------------------// //----------------------------------------------------------------------//
// if member templates for stdlib are not enabled // // if member templates for stdlib are not enabled //
//----------------------------------------------------------------------// //----------------------------------------------------------------------//
@ -31,7 +33,7 @@
/* /*
For reasons of binary backward compatibility, Sun CC does not enable For reasons of binary backward compatibility, Sun CC does not enable
member templates of the STL classes. member templates of the STL classes in the Rogue Wave STL.
An #undef creates runtime errors for some packages, so it is not a An #undef creates runtime errors for some packages, so it is not a
viable solution. Instead, we have to offer workarounds in CGAL viable solution. Instead, we have to offer workarounds in CGAL
@ -130,4 +132,6 @@ namespace CGAL {
} // namespace CGAL } // namespace CGAL
#endif // CGAL_CFG_SUNPRO_RWSTD
#endif // CGAL_SUN_FIXES_H #endif // CGAL_SUN_FIXES_H