0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

Make the dos installer work with more compilers.

This commit is contained in:
Bram Moolenaar
2010-07-07 15:14:03 +02:00
parent ccd9ccfa59
commit ab8205e8b8
7 changed files with 46 additions and 53 deletions

View File

@@ -62,6 +62,11 @@ char *searchpath(char *name);
# define vim_mkdir(x, y) mkdir((char *)(x))
# endif
#endif
#ifndef DJGPP
# define sleep(n) Sleep((n) * 1000)
#endif
/* ---------------------------------------- */
@@ -395,9 +400,10 @@ char *(icon_link_names[ICON_COUNT]) =
"gVim Easy " VIM_VERSION_SHORT ".lnk",
"gVim Read only " VIM_VERSION_SHORT ".lnk"};
/* This is only used for dosinst.c and for uninstal.c when not being able to
* directly access registry entries. */
#if !defined(WIN3264) || defined(DOSINST)
/* This is only used for dosinst.c when WIN3264 is defined and for uninstal.c
* when not being able to directly access registry entries. */
#if (defined(DOSINST) && defined(WIN3264)) \
|| (!defined(DOSINST) && !defined(WIN3264))
/*
* Run an external command and wait for it to finish.
*/