compilation fixes for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -100,6 +100,8 @@
|
||||
|
||||
#include "wx/string.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& o, const wxString& s)
|
||||
{
|
||||
#if wxUSE_UNICODE
|
||||
@@ -109,6 +111,26 @@ inline std::ostream& operator<<(std::ostream& o, const wxString& s)
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef wxLongLong_t
|
||||
|
||||
#include "wx/longlong.h"
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& ostr, wxLongLong_t ll)
|
||||
{
|
||||
ostr << wxLongLong(ll).ToString();
|
||||
|
||||
return ostr;
|
||||
}
|
||||
|
||||
inline std::ostream& operator<<(std::ostream& ostr, unsigned wxLongLong_t llu)
|
||||
{
|
||||
ostr << wxULongLong(llu).ToString();
|
||||
|
||||
return ostr;
|
||||
}
|
||||
|
||||
#endif // wxLongLong_t
|
||||
|
||||
#endif // !wxUSE_STD_IOSTREAM
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user