summaryrefslogtreecommitdiff
path: root/extensions/source/activex/main/so_activex.cpp
diff options
context:
space:
mode:
authorTakashi Ono <tono@openoffice.org>2009-12-10 11:04:42 +0000
committerTakashi Ono <tono@openoffice.org>2009-12-10 11:04:42 +0000
commit30cd7772ce7b7cc4d0284f482d4433c5bcf668bb (patch)
tree7c24812c97e1216fd80f3ff2e9e37c626682b72d /extensions/source/activex/main/so_activex.cpp
parent4df3ab56014e82c9ad8c4528827370686d6604e9 (diff)
i#107582: mingw port for tkr28
Diffstat (limited to 'extensions/source/activex/main/so_activex.cpp')
-rw-r--r--extensions/source/activex/main/so_activex.cpp5
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 01f63dd95..4f109209f 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