commit | 1b243eafb0bf21daaba01004c450cfd8fea70c66 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Apr 28 22:50:40 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Apr 28 22:50:40 2019 +0200 |
tree | 5f911fb123682229c24ae128a274df49520d0752 | |
parent | 67cf86bfff5fd5224d557d81cb146f46e33b831c [diff] [blame] |
patch 8.1.1232: can't build on MS-Windows Problem: Can't build on MS-Windows. Solution: Define process_still_running.
diff --git a/src/os_win32.c b/src/os_win32.c index 320431f..537af46 100644 --- a/src/os_win32.c +++ b/src/os_win32.c
@@ -2907,7 +2907,7 @@ * return TRUE if process "pid" is still running */ int -mch_process_running(pid_t pid) +mch_process_running(long pid) { HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION, 0, (DWORD)pid); DWORD status = 0;