projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git]
/
libiberty
/
waitpid.c
diff --git
a/libiberty/waitpid.c
b/libiberty/waitpid.c
index fd519d7696e074573f37b204c0a8485d5a2b8d0f..c0e9c3e0ca995a513df59c19fe6e3ded8274e608 100644
(file)
--- a/
libiberty/waitpid.c
+++ b/
libiberty/waitpid.c
@@
-23,6
+23,11
@@
does the return value. The third argument is unused in @libib{}.
#include <sys/wait.h>
#endif
+#ifdef __MINGW32__
+#include <process.h>
+#define wait(s) _cwait(s,pid,_WAIT_CHILD)
+#endif
+
pid_t
waitpid (pid_t pid, int *stat_loc, int options ATTRIBUTE_UNUSED)
{
This page took
0.023836 seconds
and
4
git commands to generate.