comparison src/os_win32.c @ 16455:1ae13586edf8 v8.1.1232

patch 8.1.1232: can't build on MS-Windows commit https://github.com/vim/vim/commit/1b243eafb0bf21daaba01004c450cfd8fea70c66 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 28 22:50:40 2019 +0200 patch 8.1.1232: can't build on MS-Windows Problem: Can't build on MS-Windows. Solution: Define process_still_running.
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Apr 2019 23:00:05 +0200
parents 4e9bea9b8025
children 29a0a549c790
comparison
equal deleted inserted replaced
16454:a525b0447547 16455:1ae13586edf8
2905 2905
2906 /* 2906 /*
2907 * return TRUE if process "pid" is still running 2907 * return TRUE if process "pid" is still running
2908 */ 2908 */
2909 int 2909 int
2910 mch_process_running(pid_t pid) 2910 mch_process_running(long pid)
2911 { 2911 {
2912 HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION, 0, (DWORD)pid); 2912 HANDLE hProcess = OpenProcess(PROCESS_QUERY_INFORMATION, 0, (DWORD)pid);
2913 DWORD status = 0; 2913 DWORD status = 0;
2914 int ret = FALSE; 2914 int ret = FALSE;
2915 2915