added workaround for CW

[SVN r32807]
This commit is contained in:
Joaquín M. López Muñoz
2006-02-10 14:45:34 +00:00
parent bb638ef5d2
commit 6f730f6833

View File

@@ -27,6 +27,8 @@ namespace std{ using ::wcslen; }
#endif
#endif
#include <boost/detail/workaround.hpp>
#include <boost/throw_exception.hpp>
#include <boost/scoped_ptr.hpp>
#include <boost/archive/archive_exception.hpp>
@@ -129,7 +131,11 @@ template<class Elem, class Tr>
class output_streambuf_access : public std::basic_streambuf<Elem, Tr> {
public:
virtual int sync(){
#if BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3206))
return this->basic_streambuf::sync();
#else
return this->basic_streambuf<Elem, Tr>::sync();
#endif
}
};
} // detail