mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Revert "fast-import: fix compilation on MinGW"
This reverts commit 54d99a7724.
A dummy implementation of getppid was added to the compat
layer, so this ifdef is no longer needed.
This commit is contained in:
@@ -391,9 +391,7 @@ static void write_crash_report(const char *err)
|
||||
|
||||
fprintf(rpt, "fast-import crash report:\n");
|
||||
fprintf(rpt, " fast-import process: %d\n", getpid());
|
||||
#ifndef __MINGW32__
|
||||
fprintf(rpt, " parent process : %d\n", getppid());
|
||||
#endif
|
||||
fprintf(rpt, " at %s\n", show_date(time(NULL), 0, DATE_LOCAL));
|
||||
fputc('\n', rpt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user