diff options
author | Andreas Schwab <schwab@suse.de> | 2003-01-20 10:23:41 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2003-01-20 10:23:41 +0000 |
commit | 0a18ddf91cf5cef4809497139b0567f82c8ba7c4 (patch) | |
tree | 3c6babb3f14ac236f391128f4d545f70cc07ef8f | |
parent | 827452ae5cf19881bc75d79f4c7e4d0eae04bfee (diff) | |
download | gcc-0a18ddf91cf5cef4809497139b0567f82c8ba7c4.zip gcc-0a18ddf91cf5cef4809497139b0567f82c8ba7c4.tar.gz gcc-0a18ddf91cf5cef4809497139b0567f82c8ba7c4.tar.bz2 |
system.h: Don't declare strsignal if the decl test hasn't been run yet.
* system.h: Don't declare strsignal if the decl test hasn't been
run yet.
From-SVN: r61505
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/system.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5e795ce..095161f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-20 Andreas Schwab <schwab@suse.de> + + * system.h: Don't declare strsignal if the decl test hasn't been + run yet. + 2003-01-20 Kazu Hirata <kazu@cs.umass.edu> * config/h8300/h8300.c (notice_update_cc): Don't assume that diff --git a/gcc/system.h b/gcc/system.h index 9454067..0e5b3c6 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -1,6 +1,6 @@ /* Get common system includes and various definitions and declarations based on autoconf macros. - Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GCC. @@ -321,7 +321,8 @@ extern PTR realloc PARAMS ((PTR, size_t)); /* If the system doesn't provide strsignal, we get it defined in libiberty but no declaration is supplied. */ -#if !defined (HAVE_STRSIGNAL) || !HAVE_DECL_STRSIGNAL +#if !defined (HAVE_STRSIGNAL) \ + || (defined (HAVE_DECL_STRSIGNAL) && !HAVE_DECL_STRSIGNAL) # ifndef strsignal extern const char *strsignal PARAMS ((int)); # endif |