fix for iostream.h missing in VC 7.1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-06-23 16:21:39 +00:00
parent 2dd9b2717f
commit d723d6c834
2 changed files with 10 additions and 0 deletions

View File

@@ -87,6 +87,15 @@
/* check the consistency of the settings in setup.h */
#include "wx/chkconf.h"
/*
some compilers don't support iostream.h any longer, so override the users
setting here in such case.
*/
#if defined(_MSC_VER) && (_MSC_VER >= 1310)
#undef wxUSE_IOSTREAMH
#define wxUSE_IOSTREAMH 0
#endif /* compilers not supporting iostream.h */
/*
old C++ headers (like <iostream.h>) declare classes in the global namespace
while the new, standard ones (like <iostream>) do it in std:: namespace