diff --git a/tests/streams/fileback.cpp b/tests/streams/fileback.cpp index 7a83aa13e1..c8f6325050 100644 --- a/tests/streams/fileback.cpp +++ b/tests/streams/fileback.cpp @@ -19,13 +19,14 @@ #endif +#ifdef __VISUALC6__ // need this to be able to use CPPUNIT_ASSERT_EQUAL with wxFileOffset objects static std::ostream& operator<<(std::ostream& ostr, const wxFileOffset& fo) { ostr << fo; return ostr; } - +#endif // VC++ 6 #include "wx/mstream.h" #include "wx/private/fileback.h"