From 22fd83c0272d41827c50f1ca6bbb3d3d45a41044 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 9 Oct 2008 08:52:29 +0000 Subject: [PATCH] reverted the last commit and do not define operator<<(wxFileOffset) for VC > 6 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@56187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/streams/fileback.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/streams/fileback.cpp b/tests/streams/fileback.cpp index bef19e0acd..942c578562 100644 --- a/tests/streams/fileback.cpp +++ b/tests/streams/fileback.cpp @@ -19,14 +19,14 @@ #endif -#ifdef __VISUALC__ +#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 // __VISUALC__ +#endif // __VISUALC6__ #include "wx/mstream.h" #include "wx/private/fileback.h"