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

patch 8.1.1232: can't build on MS-Windows

Problem:    Can't build on MS-Windows.
Solution:   Define process_still_running.
This commit is contained in:
Bram Moolenaar
2019-04-28 22:50:40 +02:00
parent 67cf86bfff
commit 1b243eafb0
6 changed files with 16 additions and 12 deletions

View File

@@ -2397,7 +2397,7 @@ mch_get_pid(void)
* return TRUE if process "pid" is still running
*/
int
mch_process_running(pid_t pid)
mch_process_running(long pid)
{
// EMX kill() not working correctly, it seems
return kill(pid, 0) == 0;