diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1998-09-13 06:17:31 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1998-09-13 06:17:31 +0000 |
commit | 007e8d2a7821a3a8facedb851012555516d7f9b2 (patch) | |
tree | 2f40679e3e943a6f022bdc693a86f98e44155243 /gcc/acconfig.h | |
parent | 9655bf953a9f230518f1f1ac9303b8056b4babe8 (diff) | |
download | gcc-007e8d2a7821a3a8facedb851012555516d7f9b2.zip gcc-007e8d2a7821a3a8facedb851012555516d7f9b2.tar.gz gcc-007e8d2a7821a3a8facedb851012555516d7f9b2.tar.bz2 |
Add support for strsignal, for platforms which have it but don't have sys_siglist (like Solaris 2.7.)
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.
From-SVN: r22403
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 0e43b15..71dcb1c 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 |