diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2010-12-05 08:06:25 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2010-12-05 09:06:25 +0100 |
commit | ec692d5f108e2f485e1aa8c6d7760af9fb32ab6e (patch) | |
tree | b83482850bc80775ca54aa8c43f57a164d38d68b /lto-plugin/lto-plugin.c | |
parent | e7abfe07eeb03485efb146e40cbece2d55dcdbc0 (diff) | |
download | gcc-ec692d5f108e2f485e1aa8c6d7760af9fb32ab6e.tar.gz |
config.h.in: Regenerated.
2010-12-05 Kai Tietz <kai.tietz@onevision.com>
* config.h.in: Regenerated.
* configure: Regenerated.
* configure.ac (AC_CHECK_HEADERS): Replaced by AC_HEADER_SYS_WAIT.
* lto-plugin.c (WIFEXITED): Define default.
(WEXITSTATUS): Likeiwse.
From-SVN: r167468
Diffstat (limited to 'lto-plugin/lto-plugin.c')
-rw-r--r-- | lto-plugin/lto-plugin.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lto-plugin/lto-plugin.c b/lto-plugin/lto-plugin.c index d6eb7eee92f..5ca4c9a27a3 100644 --- a/lto-plugin/lto-plugin.c +++ b/lto-plugin/lto-plugin.c @@ -50,6 +50,12 @@ along with this program; see the file COPYING3. If not see #ifdef HAVE_SYS_WAIT_H #include <sys/wait.h> #endif +#ifndef WIFEXITED +#define WIFEXITED(S) (((S) & 0xff) == 0) +#endif +#ifndef WEXITSTATUS +#define WEXITSTATUS(S) (((S) & 0xff00) >> 8) +#endif #include <libiberty.h> #include <hashtab.h> #include "../gcc/lto/common.h" |