# HG changeset patch # User Bram Moolenaar # Date 1280773603 -7200 # Node ID 336d6df580e76223e9630131b9ca1273b548d6bb # Parent 7f578da7edb244fd31a7f02cbe08215f8c699f8b Workaround for missing RegDeleteKeyEx() method. diff --git a/src/dosinst.h b/src/dosinst.h --- 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 --- 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 /*****************************************************************************