From 760d14a55cb2b60bd048246690d17348b4cd0fdf Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 31 Jul 2010 22:03:44 +0200 Subject: Fix that uninstaller isn't found on 64-bit Windows. --- src/dosinst.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/dosinst.h') diff --git a/src/dosinst.h b/src/dosinst.h index 86e65e9a9d..b33426ad78 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 */ -- cgit v1.2.3