From: Bram Moolenaar Date: Sun, 1 Aug 2010 17:50:25 +0000 (+0200) Subject: Define the WOW64 key when needed. X-Git-Tag: v7.3~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92096d529e0e63c819d9c88c3998c839d4f8691f;p=vim Define the WOW64 key when needed. --- diff --git a/src/if_ole.cpp b/src/if_ole.cpp index 44a35682a..ca8218213 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 *****************************************************************************/