From 40b24f4e9c6bc834fca90d3cf3022126e353a1ce Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Tue, 5 Jun 2007 10:26:59 +0000 Subject: [PATCH] INTEGRATION: CWS obo12 (1.2.42); FILE MERGED 2007/05/10 13:19:14 obo 1.2.42.2: #i76713# _WIN32_WINDOWS = 0x0410 for Win98 2007/05/10 10:37:57 obo 1.2.42.1: #i76713# #error YES removed (Vista PSDK) --- .../shellextensions/registerextensions.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx b/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx index dfbee113d8bd..90eab05db53a 100644 --- a/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx +++ b/setup_native/source/win32/customactions/shellextensions/registerextensions.cxx @@ -4,9 +4,9 @@ * * $RCSfile: registerextensions.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: vg $ $Date: 2007-05-25 10:49:10 $ + * last change: $Author: ihi $ $Date: 2007-06-05 11:26:59 $ * * 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 @@ -54,10 +56,6 @@ #include #include -#if defined(_WIN32_WINNT) && !defined(__MINGW32__) -#error YES -#endif - static std::_tstring GetMsiProperty( MSIHANDLE handle, const std::_tstring& sProperty ) { std::_tstring result;