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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user