diff --git a/setup_native/source/win32/customactions/shellextensions/upgrade.cxx b/setup_native/source/win32/customactions/shellextensions/upgrade.cxx index 567bf6f7ae8a..262a85e21fcc 100644 --- a/setup_native/source/win32/customactions/shellextensions/upgrade.cxx +++ b/setup_native/source/win32/customactions/shellextensions/upgrade.cxx @@ -4,9 +4,9 @@ * * $RCSfile: upgrade.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: vg $ $Date: 2007-03-26 14:12:16 $ + * last change: $Author: ihi $ $Date: 2007-06-05 10:52:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -36,6 +36,8 @@ #undef UNICODE #undef _UNICODE +#define _WIN32_WINDOWS 0x0410 + #pragma warning(push, 1) /* disable warnings within system headers */ #define WIN32_LEAN_AND_MEAN #include @@ -48,10 +50,6 @@ #include #include -#if defined(_WIN32_WINNT) && !defined(__MINGW32__) -#error YES -#endif - using namespace std; namespace