Windows uninstaller: Instead of calling RegDeleteKeyEx() directly load it

dynamically from the .dll.  Should work everywhere.
This commit is contained in:
Bram Moolenaar
2010-08-02 23:06:46 +02:00
parent 61a91766f7
commit bf65051b7b
3 changed files with 41 additions and 27 deletions

View File

@ -89,7 +89,6 @@ 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