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:
@@ -452,9 +452,20 @@ typedef short int WXTYPE;
|
|||||||
|
|
||||||
#ifndef HAVE_WOSTREAM
|
#ifndef HAVE_WOSTREAM
|
||||||
// Mingw <=3.4 doesn't have std::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
|
#define HAVE_WOSTREAM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef wxNO_WOSTREAM
|
||||||
#endif /* HAVE_WOSTREAM */
|
#endif /* HAVE_WOSTREAM */
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user