From 9fdc17f53459eec4bbd0f4c2d78d1d608f23d3b3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 8 Oct 2008 16:52:30 +0000 Subject: [PATCH] define operator<<(wxFileOffset) for VC6 only, it breaks compilation for at least wxMac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/streams/fileback.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"