Problem: MS-Windows: "#ifdef FEAT_GUI" exists within "ifdef
FEAT_GUI_MSWIN", which is confusing when reading the code.
FEAT_GUI is always defined if FEAT_GUI_MSWIN is defined (see
vim.h). Therefore, this check and the else block are
unnecessary.
Solution: Removed unnecessary "#ifdef FEAT_GUI" (Muraoka Taro).
closes: #19164
Signed-off-by: Muraoka Taro <koron.kaoriya@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
// Wait for the command to terminate before continuing
{
-# ifdef FEAT_GUI
int delay = 1;
// Keep updating the window while waiting for the shell to finish.
if (delay < 50)
delay += 10;
}
-# else
- WaitForSingleObject(pi.hProcess, INFINITE);
-# endif
// Get the command exit code
GetExitCodeProcess(pi.hProcess, &ret);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2081,
/**/
2080,
/**/