diff options
author | K.Takata <kentkt@csc.jp> | 2022-09-10 13:03:12 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-09-10 13:03:12 +0100 |
commit | 2da11a4124989e3be917fa8024025d2e1452b363 (patch) | |
tree | 5a25d751f2e3afd2afab4e89a31442744845dee8 /src/os_win32.c | |
parent | f21d546d8f80b85a1770fc4c9f48f2d92e2e82fa (diff) |
patch 9.0.0436: CI: running tests in parallel causes flakinessv9.0.0436
Problem: CI: running tests in parallel causes flakiness.
Solution: Reorganize the MS-Windows runs. (Ken Takata, closes #11101)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index d936e4f087..af2622caeb 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -2834,7 +2834,11 @@ SaveConsoleTitleAndIcon(void) return; // Extract the first icon contained in the Vim executable. - if (mch_icon_load((HANDLE *)&g_hVimIcon) == FAIL || g_hVimIcon == NULL) + if ( +# ifdef FEAT_LIBCALL + mch_icon_load((HANDLE *)&g_hVimIcon) == FAIL || +# endif + g_hVimIcon == NULL) g_hVimIcon = ExtractIcon(NULL, (LPCSTR)exe_name, 0); if (g_hVimIcon != NULL) g_fCanChangeIcon = TRUE; |