summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/dosinst.h1
-rw-r--r--src/if_ole.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/dosinst.h b/src/dosinst.h
index b33426ad78..444af45b2a 100644
--- a/src/dosinst.h
+++ b/src/dosinst.h
@@ -89,6 +89,7 @@ char *searchpath(char *name);
*/
# ifndef KEY_WOW64_64KEY
# define KEY_WOW64_64KEY 0x0100
+# define RegDeleteKeyEx(a, b, c, d) RegDeleteKey(a, b)
# endif
#define VIM_STARTMENU "Programs\\Vim " VIM_VERSION_SHORT
diff --git a/src/if_ole.cpp b/src/if_ole.cpp
index ca82182136..ff9e371a70 100644
--- a/src/if_ole.cpp
+++ b/src/if_ole.cpp
@@ -91,6 +91,7 @@ static CVim *app = 0;
*/
# ifndef KEY_WOW64_64KEY
# define KEY_WOW64_64KEY 0x0100
+# define RegDeleteKeyEx(a, b, c, d) RegDeleteKey(a, b)
# endif
/*****************************************************************************