mirror of
https://github.com/mirror/make.git
synced 2025-01-28 05:10:24 +08:00
job.c
This commit is contained in:
parent
e954532d48
commit
59691939f9
4
job.c
4
job.c
@ -192,7 +192,9 @@ static const char *
|
||||
pid2str (pid_t pid)
|
||||
{
|
||||
static char pidstring[100];
|
||||
#ifdef WINDOWS32
|
||||
#if defined(WINDOWS32) && (__GNUC__ > 3 || _MSC_VER > 1300)
|
||||
/* %Id is only needed for 64-builds, which were not supported by
|
||||
older versions of Windows compilers. */
|
||||
sprintf (pidstring, "%Id", pid);
|
||||
#else
|
||||
sprintf (pidstring, "%lu", (unsigned long) pid);
|
||||
|
Loading…
Reference in New Issue
Block a user