diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-30 19:01:58 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-30 19:01:58 +0000 |
commit | 5519412f3106fc98b33f2a1daa404ac214176637 (patch) | |
tree | 2f9ae577f446e2df7bdc4c485d4ca512a55a9a32 /gcc/system.h | |
parent | 01fea1ebabc310529db6117087939b33b848a90c (diff) | |
download | ppe42-gcc-5519412f3106fc98b33f2a1daa404ac214176637.tar.gz ppe42-gcc-5519412f3106fc98b33f2a1daa404ac214176637.zip |
PR other/6955
* collect2.c (collect_wait): Use WCOREDUMP and fix output message.
* system.h (WCOREDUMP, WCOREFLG): Define if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65048 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h index 81988c51758..2f16008be19 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -270,6 +270,12 @@ extern int errno; #ifndef WSTOPSIG #define WSTOPSIG WEXITSTATUS #endif +#ifndef WCOREDUMP +#define WCOREDUMP(S) ((S) & WCOREFLG) +#endif +#ifndef WCOREFLG +#define WCOREFLG 0200 +#endif /* The HAVE_DECL_* macros are three-state, undefined, 0 or 1. If they are defined to 0 then we must provide the relevant declaration |