summaryrefslogtreecommitdiff
path: root/setup_native
diff options
context:
space:
mode:
authorTobias Krause <tkr@openoffice.org>2009-11-10 07:41:11 +0000
committerTobias Krause <tkr@openoffice.org>2009-11-10 07:41:11 +0000
commit7b3f14efe9a84f3d217ae03ef1ff80cc4f816db7 (patch)
treeaf8609257b9be25ea0371ac905777a26ebbc6152 /setup_native
parent9c9b45f2b0d469e796957db7a0b9ac09f319f560 (diff)
#105892# define KEY_WOW64_64KEY for mingw
Diffstat (limited to 'setup_native')
-rwxr-xr-xsetup_native/source/win32/customactions/reg64/reg64.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_native/source/win32/customactions/reg64/reg64.cxx b/setup_native/source/win32/customactions/reg64/reg64.cxx
index 677de611d135..a85344af36ae 100755
--- a/setup_native/source/win32/customactions/reg64/reg64.cxx
+++ b/setup_native/source/win32/customactions/reg64/reg64.cxx
@@ -252,7 +252,7 @@ bool QueryReg64Table(MSIHANDLE& rhDatabase, MSIHANDLE& rhView)
bool DeleteRegistryKey(HKEY RootKey, const wchar_t* KeyName)
{
-// 10.11.2009 tkr: MinGW doesn't know anything about RegDeleteKeyEx.
+// 10.11.2009 tkr: MinGW doesn't know anything about RegDeleteKeyEx if WINVER < 0x0502.
#if (WINVER >= 0x0502)
int rc = RegDeleteKeyEx(
RootKey, KeyName, KEY_WOW64_64KEY, 0);