diff options
author | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-20 10:23:41 +0000 |
---|---|---|
committer | schwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-20 10:23:41 +0000 |
commit | b74ce7fd2e1a254a3f6e6700ec4bb1d3f7815637 (patch) | |
tree | 3c6babb3f14ac236f391128f4d545f70cc07ef8f /gcc/system.h | |
parent | 3c71a1731ce3a9feb60524469f2373cbedbec48f (diff) | |
download | gcc-b74ce7fd2e1a254a3f6e6700ec4bb1d3f7815637.tar.gz |
* system.h: Don't declare strsignal if the decl test hasn't been
run yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61505 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/system.h b/gcc/system.h index 9454067ee93..0e5b3c65894 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 |