0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

Workaround for missing RegDeleteKeyEx() method.

This commit is contained in:
Bram Moolenaar 2010-08-02 20:26:43 +02:00
parent e04abda52f
commit 3f97ebf730
2 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,7 @@ char *searchpath(char *name);
*/ */
# ifndef KEY_WOW64_64KEY # ifndef KEY_WOW64_64KEY
# define KEY_WOW64_64KEY 0x0100 # define KEY_WOW64_64KEY 0x0100
# define RegDeleteKeyEx(a, b, c, d) RegDeleteKey(a, b)
# endif # endif
#define VIM_STARTMENU "Programs\\Vim " VIM_VERSION_SHORT #define VIM_STARTMENU "Programs\\Vim " VIM_VERSION_SHORT

View File

@ -91,6 +91,7 @@ static CVim *app = 0;
*/ */
# ifndef KEY_WOW64_64KEY # ifndef KEY_WOW64_64KEY
# define KEY_WOW64_64KEY 0x0100 # define KEY_WOW64_64KEY 0x0100
# define RegDeleteKeyEx(a, b, c, d) RegDeleteKey(a, b)
# endif # endif
/***************************************************************************** /*****************************************************************************