diff options
author | Matthew Newhook <matthew@zeroc.com> | 2008-03-13 12:28:21 +0800 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2008-03-13 12:28:21 +0800 |
commit | dd7a4cbf53fd39aeb02a5cdbb75441277b231545 (patch) | |
tree | c8dfb47162435238d164fbb22f880ecb3c326150 /cpp/demo/IcePatch2/MFC/stdafx.h | |
parent | removing debug statements in Python Ice.Application (diff) | |
download | ice-dd7a4cbf53fd39aeb02a5cdbb75441277b231545.tar.bz2 ice-dd7a4cbf53fd39aeb02a5cdbb75441277b231545.tar.xz ice-dd7a4cbf53fd39aeb02a5cdbb75441277b231545.zip |
- Revert prior fix for bug 2752.
- Commit new fix to the MFC stdafx.h demos.
Diffstat (limited to 'cpp/demo/IcePatch2/MFC/stdafx.h')
-rwxr-xr-x | cpp/demo/IcePatch2/MFC/stdafx.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/demo/IcePatch2/MFC/stdafx.h b/cpp/demo/IcePatch2/MFC/stdafx.h index 09d7cfd1435..a371ed6fde2 100755 --- a/cpp/demo/IcePatch2/MFC/stdafx.h +++ b/cpp/demo/IcePatch2/MFC/stdafx.h @@ -24,6 +24,18 @@ #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #endif +// Change this to the appropriate value to target Windows 98 and Windows 2000 or + later if not using VC6. +#ifndef _WIN3_WINNT +# if defined(_MSC_VER) && _MSC_VER < 1500 +# define _WIN32_WINNT 0x0400 +# endif +#endif + +#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. +#define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later. +#endif + #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit // turns off MFC's hiding of some common and often safely ignored warning messages |