summaryrefslogtreecommitdiffstats
path: root/src/if_ole.cpp
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-01 19:50:25 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-01 19:50:25 +0200
commit92096d529e0e63c819d9c88c3998c839d4f8691f (patch)
tree00a6f7f932a1afe21fb915bb7e82d0a7c10781c3 /src/if_ole.cpp
parentc0f15ce171e3ca36979a7d1042d7f2275b3db97a (diff)
Define the WOW64 key when needed.
Diffstat (limited to 'src/if_ole.cpp')
-rw-r--r--src/if_ole.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/if_ole.cpp b/src/if_ole.cpp
index 44a35682a7..ca82182136 100644
--- a/src/if_ole.cpp
+++ b/src/if_ole.cpp
@@ -85,6 +85,14 @@ static CVim *app = 0;
#define MAX_CLSID_LEN 100
+/*
+ * Modern way of creating registry entries, also works on 64 bit windows when
+ * compiled as a 32 bit program.
+ */
+# ifndef KEY_WOW64_64KEY
+# define KEY_WOW64_64KEY 0x0100
+# endif
+
/*****************************************************************************
2. The application object
*****************************************************************************/