diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-13 06:17:31 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-13 06:17:31 +0000 |
commit | 0b6ff5fbb328624d5e980cff21773447689cef25 (patch) | |
tree | 2f40679e3e943a6f022bdc693a86f98e44155243 /gcc/acconfig.h | |
parent | f6d26bd29c5199e3136cd5124c1e974bd850626b (diff) | |
download | gcc-0b6ff5fbb328624d5e980cff21773447689cef25.tar.gz |
Add support for strsignal, for platforms which have it but don't have
sys_siglist (like Solaris 2.7.)
* acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
* collect2.c: Don't declare `sys_siglist' here.
(my_strsignal): Prototype and define new function. Use it in
place of `sys_siglist' hacks.
* mips_tfile.c: Likewise.
* configure.in (AC_CHECK_FUNCS): Check for strsignal.
(GCC_NEED_DECLARATIONS): Likewise.
* system.h (strsignal): Prototype it, if necessary.
(sys_siglist): Declare it, if necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22403 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/acconfig.h')
-rw-r--r-- | gcc/acconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/acconfig.h b/gcc/acconfig.h index 0e43b153e21..71dcb1c45c7 100644 --- a/gcc/acconfig.h +++ b/gcc/acconfig.h @@ -69,6 +69,9 @@ /* Whether strerror must be declared even if <string.h> is included. */ #undef NEED_DECLARATION_STRERROR +/* Whether strsignal must be declared even if <string.h> is included. */ +#undef NEED_DECLARATION_STRSIGNAL + /* Whether getcwd must be declared even if <unistd.h> is included. */ #undef NEED_DECLARATION_GETCWD |