summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-28 22:50:40 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-28 22:50:40 +0200
commit1b243eafb0bf21daaba01004c450cfd8fea70c66 (patch)
tree5f911fb123682229c24ae128a274df49520d0752 /src/os_unix.c
parent67cf86bfff5fd5224d557d81cb146f46e33b831c (diff)
downloadvim-git-1b243eafb0bf21daaba01004c450cfd8fea70c66.tar.gz
patch 8.1.1232: can't build on MS-Windowsv8.1.1232
Problem: Can't build on MS-Windows. Solution: Define process_still_running.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index cd3b68ed7..528089b90 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -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;