summaryrefslogtreecommitdiff
path: root/src/dosinst.h
diff options
context:
space:
mode:
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 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 */