]> git.saurik.com Git - wxWidgets.git/commitdiff
define operator<<(wxLongLong_t) for VC6 whether wxUSE_STD_IOSTREAM is 0 or 1 (fixes...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Nov 2008 12:44:07 +0000 (12:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Nov 2008 12:44:07 +0000 (12:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cppunit.h

index 29161822a2d9aca4cebd2d332f6f564d9373b779..e96196343c6bcaa9873d03cd0963ac1194a37951 100644 (file)
@@ -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.
 //