projects
/
platform
/
upstream
/
make.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e954532
)
job.c
author
Eli Zaretskii
<eliz@gnu.org>
Sat, 24 Jul 2010 08:27:50 +0000
(08:27 +0000)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 24 Jul 2010 08:27:50 +0000
(08:27 +0000)
job.c
patch
|
blob
|
history
diff --git
a/job.c
b/job.c
index de4f79e0458b4b09afd3ec7231031c7b907fa97c..aacfb844aac19774a7579803d8887259ea994f5a 100644
(file)
--- a/
job.c
+++ b/
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);