mirror of
https://github.com/git/git.git
synced 2026-01-19 07:04:49 +00:00
fixup! mingw: kill child processes in a gentler way
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user