From 55d9f029b6bb9b273ab1682234063b7563ed96b7 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 3 Nov 2008 12:44:07 +0000 Subject: [PATCH] define operator<<(wxLongLong_t) for VC6 whether wxUSE_STD_IOSTREAM is 0 or 1 (fixes test compilation in the latter case) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cppunit.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/cppunit.h b/include/wx/cppunit.h index 29161822a2..e96196343c 100644 --- a/include/wx/cppunit.h +++ b/include/wx/cppunit.h @@ -178,6 +178,8 @@ inline std::ostream& operator<<(std::ostream& o, const wxString& s) #endif } +#endif // !wxUSE_STD_IOSTREAM + // VC6 doesn't provide overloads for operator<<(__int64) in its stream classes // so do it ourselves #if defined(__VISUALC6__) && defined(wxLongLong_t) @@ -200,8 +202,6 @@ inline std::ostream& operator<<(std::ostream& ostr, unsigned wxLongLong_t llu) #endif // VC6 && wxLongLong_t -#endif // !wxUSE_STD_IOSTREAM - /////////////////////////////////////////////////////////////////////////////// // Some more compiler warning tweaking and auto linking. // -- 2.45.2