WCONTINUED is not portable
Martin Husemann
martin@duskware.de
Sun Mar 23 10:59:00 GMT 2014
The flag WCONTINUED for waitpid() is not portable.
The attached patch just defines it to 0 if missing.
Martin
-------------- next part --------------
--- gcc/lto/lto.c.orig 2014-02-24 23:58:44.000000000 +0100
+++ gcc/lto/lto.c 2014-03-21 16:43:05.000000000 +0100
@@ -2470,6 +2470,11 @@ do_stream_out (char *temp_filename, lto_
/* Wait for forked process and signal errors. */
#ifdef HAVE_WORKING_FORK
+
+#ifndef WCONTINUED
+#define WCONTINUED 0
+#endif
+
static void
wait_for_child ()
{
More information about the Gcc-patches
mailing list