diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-08-02 20:26:43 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-08-02 20:26:43 +0200 |
commit | 3f97ebf7301efaa1d523417f2ef30f1b9c7576c3 (patch) | |
tree | 947081bd9bbf29a28e472bd73aa5e685a4c01815 /src | |
parent | e04abda52f6de060db48049316cf451925369693 (diff) |
Workaround for missing RegDeleteKeyEx() method.
Diffstat (limited to 'src')
-rw-r--r-- | src/dosinst.h | 1 | ||||
-rw-r--r-- | src/if_ole.cpp | 1 |
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 /***************************************************************************** |