changeset 2469:336d6df580e7 vim73

Workaround for missing RegDeleteKeyEx() method.
author Bram Moolenaar <bram@vim.org>
date Mon, 02 Aug 2010 20:26:43 +0200
parents 7f578da7edb2
children 481f808ab5e1
files src/dosinst.h src/if_ole.cpp
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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
 
 /*****************************************************************************