Commit 15df2655 by Jakub Jelinek Committed by Jakub Jelinek

re PR lto/60571 (FTBFS on hurd-i386)

	PR lto/60571
	* lto.c (wait_for_child): Define WCONTINUED if not defined to 0.
	Fix formatting.

From-SVN: r208675
parent e1e07cd6
2014-03-19 Jakub Jelinek <jakub@redhat.com>
PR lto/60571
* lto.c (wait_for_child): Define WCONTINUED if not defined to 0.
Fix formatting.
2014-03-18 Jakub Jelinek <jakub@redhat.com> 2014-03-18 Jakub Jelinek <jakub@redhat.com>
PR sanitizer/60535 PR sanitizer/60535
......
...@@ -2476,7 +2476,10 @@ wait_for_child () ...@@ -2476,7 +2476,10 @@ wait_for_child ()
int status; int status;
do do
{ {
int w = waitpid(0, &status, WUNTRACED | WCONTINUED); #ifndef WCONTINUED
#define WCONTINUED 0
#endif
int w = waitpid (0, &status, WUNTRACED | WCONTINUED);
if (w == -1) if (w == -1)
fatal_error ("waitpid failed"); fatal_error ("waitpid failed");
...@@ -2485,7 +2488,7 @@ wait_for_child () ...@@ -2485,7 +2488,7 @@ wait_for_child ()
else if (WIFSIGNALED (status)) else if (WIFSIGNALED (status))
fatal_error ("streaming subprocess was killed by signal"); fatal_error ("streaming subprocess was killed by signal");
} }
while (!WIFEXITED(status) && !WIFSIGNALED(status)); while (!WIFEXITED (status) && !WIFSIGNALED (status));
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment