summaryrefslogtreecommitdiffstats
path: root/src/dosinst.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-31 22:03:44 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-31 22:03:44 +0200
commit760d14a55cb2b60bd048246690d17348b4cd0fdf (patch)
tree4c2b8516ccc5631e3ce9ff578269683c4cfbcded /src/dosinst.h
parent7805004319691ee026342525e0bf9df146358dc0 (diff)
Fix that uninstaller isn't found on 64-bit Windows.
Diffstat (limited to 'src/dosinst.h')
-rw-r--r--src/dosinst.h8
1 files changed, 8 insertions, 0 deletions
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 */