fixup! mingw: kill child processes in a gentler way

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2018-11-27 22:48:07 +01:00
parent 24c4b97529
commit 9763966776

View File

@@ -127,7 +127,7 @@ static int exit_process(HANDLE process, int exit_code)
HANDLE thread = NULL;
if (!initialized) {
HINSTANCE kernel32 = GetModuleHandle("kernel32");
HINSTANCE kernel32 = GetModuleHandleA("kernel32");
if (!kernel32)
die("BUG: cannot find kernel32");
exit_process_address = (LPTHREAD_START_ROUTINE)