diff options
author | Tobias Krause <tkr@openoffice.org> | 2009-11-06 13:10:13 +0000 |
---|---|---|
committer | Tobias Krause <tkr@openoffice.org> | 2009-11-06 13:10:13 +0000 |
commit | 9294db4060288f62c4c8f83c67c7be32b17e33e5 (patch) | |
tree | 91158ebbd5ba35b8cebba019c96803e43669375b /extensions | |
parent | 4215d8c5fda13fe01e6e1e79bf08b8267546e3a0 (diff) |
#105892# define KEY_WOW64_64KEY for mingw
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/activex/main/so_activex.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/extensions/source/activex/main/so_activex.cpp b/extensions/source/activex/main/so_activex.cpp index 1f6dc6bdc466..565399413959 100644 --- a/extensions/source/activex/main/so_activex.cpp +++ b/extensions/source/activex/main/so_activex.cpp @@ -28,8 +28,16 @@ END_OBJECT_MAP() #define X64_LIB_NAME "so_activex_x64.dll" #define X32_LIB_NAME "so_activex.dll" +// 06.11.2009 tkr: to provide windows xp as build systems for mingw we need to define KEY_WOW64_64KEY +// in mingw 3.13 KEY_WOW64_64KEY isn't available < Win2003 systems. +// Also defined in setup_native\source\win32\customactions\reg64\reg64.cxx,source\win32\customactions\shellextensions\shellextensions.cxx and +// extensions\source\activex\main\so_activex.cpp +#ifndef KEY_WOW64_64KEY + #define KEY_WOW64_64KEY (0x0100) +#endif + const REGSAM n64KeyAccess = KEY_ALL_ACCESS | KEY_WOW64_64KEY; -const REGSAM n32KeyAccess = KEY_ALL_ACCESS | KEY_WOW64_32KEY; +const REGSAM n32KeyAccess = KEY_ALL_ACCESS; #ifdef _AMD64_ const BOOL bX64 = TRUE; |