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:
@@ -198,6 +198,7 @@ wxMSW:
|
||||
|
||||
- compilation fix for VC++ command line build (missing version.mak)
|
||||
- fixed release mode build with VC 7.x (Martin Ecker)
|
||||
- fix iostream.h problem with VC 7.1 (it doesn't support it any longer)
|
||||
- compilation fix for XRC with mingw32
|
||||
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user