changeset 2463:7a537d53b3ed vim73

Define the WOW64 key when needed.
author Bram Moolenaar <bram@vim.org>
date Sun, 01 Aug 2010 19:50:25 +0200
parents 88e92762a53e
children 42393e2a30b2
files src/if_ole.cpp
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
 *****************************************************************************/