Remove obsolete wxUSE_IOSTREAMH option
This is always 0 for any still supported compiler, so remove the option and configure checks for it. Still define it as 0 for compatibility, just in case it's used outside of the library.
This commit is contained in:
@@ -460,21 +460,10 @@ typedef short int WXTYPE;
|
||||
/*
|
||||
Mingw <= 3.4 and all versions of Cygwin don't have std::wostream
|
||||
*/
|
||||
#if (defined(__MINGW32__) && !wxCHECK_GCC_VERSION(4, 0)) || \
|
||||
defined(__CYGWIN__)
|
||||
#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
|
||||
#if (!defined(__MINGW32__) || wxCHECK_GCC_VERSION(4, 0)) && \
|
||||
!defined(__CYGWIN__)
|
||||
#define HAVE_WOSTREAM
|
||||
#endif
|
||||
|
||||
#undef wxNO_WOSTREAM
|
||||
#endif /* HAVE_WOSTREAM */
|
||||
|
||||
/* ---------------------------------------------------------------------------- */
|
||||
@@ -849,7 +838,7 @@ typedef short int WXTYPE;
|
||||
|
||||
/* where should i put this? we need to make sure of this as it breaks */
|
||||
/* the <iostream> code. */
|
||||
#if !wxUSE_IOSTREAMH && defined(__WXDEBUG__)
|
||||
#if defined(__WXDEBUG__)
|
||||
# undef wxUSE_DEBUG_NEW_ALWAYS
|
||||
# define wxUSE_DEBUG_NEW_ALWAYS 0
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user