Make libiberty/waitpid.c compile without warnings on MinGW
authorEli Zaretskii <eliz@gnu.org>
Wed, 31 May 2017 06:37:48 +0000 (09:37 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 31 May 2017 06:37:48 +0000 (09:37 +0300)
commit90b4491842980d57a0e572167a168e04a476bca5
treeba5f613ef05675c2e1406896e52c361de37b463c
parentb9c6833008dfb3c45354f4e810e631a77f3c9cb3
Make libiberty/waitpid.c compile without warnings on MinGW

libiberty/ChangeLog:

2017-05-31  Eli Zaretskii  <eliz@gnu.org>

* waitpid.c (wait) [__MINGW32__]: Define as a macro
that calls _cwait, so that this function works on MinGW.
libiberty/ChangeLog
libiberty/waitpid.c