VC6 doesn't have wostream when using old iostream.h

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-03-04 12:06:07 +00:00
parent df44dcedaa
commit 41aeb94eec

View File

@@ -452,9 +452,20 @@ typedef short int WXTYPE;
#ifndef HAVE_WOSTREAM
// Mingw <=3.4 doesn't have std::wostream
#if !defined(__MINGW32__) || wxCHECK_GCC_VERSION(4,0)
#if defined(__MINGW32__) && !wxCHECK_GCC_VERSION(4,0)
#define wxNO_WOSTREAM
#endif
// VC++ doesn't have it in the old iostream library
#if defined(__VISUALC__) && wxUSE_IOSTREAMH
#define wxNO_WOSTREAM
#endif
#ifndef wxNO_WOSTREAM
#define HAVE_WOSTREAM
#endif
#undef wxNO_WOSTREAM
#endif /* HAVE_WOSTREAM */
// ----------------------------------------------------------------------------