disable wxHAS_TEXT_WINDOW_STREAM for the old MSVC iostream.h library; don't disable it for DLL builds (why?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,13 +25,11 @@
|
|||||||
#include "wx/dynarray.h" // wxArrayInt
|
#include "wx/dynarray.h" // wxArrayInt
|
||||||
#include "wx/gdicmn.h" // wxPoint
|
#include "wx/gdicmn.h" // wxPoint
|
||||||
|
|
||||||
// Open Watcom 1.3 does allow only ios::rdbuf() while
|
// some compilers don't have standard compliant rdbuf() (and MSVC has it only
|
||||||
// we want something with streambuf parameter
|
// in its new iostream library, not in the old one used with iostream.h)
|
||||||
// Also, can't use streambuf if making or using a DLL :-(
|
|
||||||
|
|
||||||
#if defined(__WATCOMC__) || \
|
#if defined(__WATCOMC__) || \
|
||||||
defined(__MWERKS__) || \
|
defined(__MWERKS__) || \
|
||||||
(defined(__WINDOWS__) && (defined(WXUSINGDLL) || defined(WXMAKINGDLL)))
|
((defined(__VISUALC5__) || defined(__VISUALC6__)) && wxUSE_IOSTREAMH)
|
||||||
#define wxHAS_TEXT_WINDOW_STREAM 0
|
#define wxHAS_TEXT_WINDOW_STREAM 0
|
||||||
#elif wxUSE_STD_IOSTREAM
|
#elif wxUSE_STD_IOSTREAM
|
||||||
#include "wx/ioswrap.h"
|
#include "wx/ioswrap.h"
|
||||||
|
Reference in New Issue
Block a user