diff options
author | Takashi Ono <tono@openoffice.org> | 2009-12-10 11:04:42 +0000 |
---|---|---|
committer | Takashi Ono <tono@openoffice.org> | 2009-12-10 11:04:42 +0000 |
commit | c2ad86b8941439d904e4bda4aefa5814d713b535 (patch) | |
tree | 54b254a53efed54ecbc079af022f7dfdacc6b294 /extensions/source | |
parent | d95c37cdac36e96c22fa38b519817cc0466f1f96 (diff) |
i#107582: mingw port for tkr28
Diffstat (limited to 'extensions/source')
-rw-r--r-- | extensions/source/activex/main/so_activex.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extensions/source/activex/main/so_activex.cpp b/extensions/source/activex/main/so_activex.cpp index 7db1c67e1585..9c10fadadb06 100644 --- a/extensions/source/activex/main/so_activex.cpp +++ b/extensions/source/activex/main/so_activex.cpp @@ -35,6 +35,9 @@ END_OBJECT_MAP() #ifndef KEY_WOW64_64KEY #define KEY_WOW64_64KEY (0x0100) #endif +#ifndef KEY_WOW64_32KEY + #define KEY_WOW64_32KEY (0x0200) +#endif const REGSAM n64KeyAccess = KEY_ALL_ACCESS | KEY_WOW64_64KEY; const REGSAM n32KeyAccess = KEY_ALL_ACCESS; @@ -46,7 +49,9 @@ const BOOL bX64 = FALSE; #endif // 10.11.2009 tkr: MinGW doesn't know anything about RegDeleteKeyExA if WINVER < 0x0502. +extern "C" { WINADVAPI LONG WINAPI RegDeleteKeyExA(HKEY,LPCSTR,REGSAM,DWORD); +} ///////////////////////////////////////////////////////////////////////////// // DLL Entry Point |