diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-31 22:03:44 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-31 22:03:44 +0200 |
commit | 760d14a55cb2b60bd048246690d17348b4cd0fdf (patch) | |
tree | 4c2b8516ccc5631e3ce9ff578269683c4cfbcded /src/dosinst.h | |
parent | 7805004319691ee026342525e0bf9df146358dc0 (diff) | |
download | vim-760d14a55cb2b60bd048246690d17348b4cd0fdf.zip |
Fix that uninstaller isn't found on 64-bit Windows.
Diffstat (limited to 'src/dosinst.h')
-rw-r--r-- | src/dosinst.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dosinst.h b/src/dosinst.h index 86e65e9a9..b33426ad7 100644 --- a/src/dosinst.h +++ b/src/dosinst.h @@ -83,6 +83,14 @@ char *searchpath(char *name); # define TRUE 1 #endif +/* + * 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 + #define VIM_STARTMENU "Programs\\Vim " VIM_VERSION_SHORT int interactive; /* non-zero when running interactively */ |