aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1997-09-01 17:02:53 +0000
committerJeff Law <law@gcc.gnu.org>1997-09-01 11:02:53 -0600
commita63d08e6068d7bc8cb98df36d7fd02fa3b757334 (patch)
treeaf45a06594372a8ce31307986642e8135b3e6fb6 /gcc/config/rs6000
parentdb814993aeff298e9a3bd04ad70f944cc2bc558e (diff)
downloadgcc-a63d08e6068d7bc8cb98df36d7fd02fa3b757334.zip
gcc-a63d08e6068d7bc8cb98df36d7fd02fa3b757334.tar.gz
gcc-a63d08e6068d7bc8cb98df36d7fd02fa3b757334.tar.bz2
cccp.c (sys_errlist): Remove special 4.4bsd declaration.
* cccp.c (sys_errlist): Remove special 4.4bsd declaration. * collect2.c (sys_errlist): Likewise. * cpplib.c (sys_errlist): Likewise. * gcc.c (sys_errlist): Likewise. * protoize (sys_errlist): Likewise. * configure.in: Check for strerror. * xm-freebsd.h (HAVE_STRERROR): Remove definition. * xm-gnu.h (HAVE_STRERROR): Likewise. * xm-linux.h (HAVE_STRERROR): Likewise. * xm-netbsd.h (HAVE_STRERROR): Likewise. * xm-bsd386.h (HAVE_STRERROR): Likewise. * xm-cygwin32.h (HAVE_STRERROR): Likewise. * xm-dos.h (HAVE_STRERROR): Likewise. * xm-mingw32.h (HAVE_STRERROR): Likewise. * xm-pa.h (HAVE_STRERROR): Likewise. * xm-papro.h (HAVE_STRERROR): Likewise. * xm-sysv4.h (HAVE_STRERROR): Likewise. * configure, config.in: Rebuilt. Remove the need to define HAVE_STRERROR for each host port. From-SVN: r15011
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/xm-cygwin32.h1
-rw-r--r--gcc/config/rs6000/xm-sysv4.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/rs6000/xm-cygwin32.h b/gcc/config/rs6000/xm-cygwin32.h
index f7e30a1..158e54e 100644
--- a/gcc/config/rs6000/xm-cygwin32.h
+++ b/gcc/config/rs6000/xm-cygwin32.h
@@ -23,7 +23,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "rs6000/xm-rs6000.h"
-#define HAVE_STRERROR
#define HAVE_RUSAGE
#define HAVE_FILE_H
#define EXECUTABLE_SUFFIX ".exe"
diff --git a/gcc/config/rs6000/xm-sysv4.h b/gcc/config/rs6000/xm-sysv4.h
index 3a13a57..5089c7d 100644
--- a/gcc/config/rs6000/xm-sysv4.h
+++ b/gcc/config/rs6000/xm-sysv4.h
@@ -56,9 +56,6 @@ extern char *alloca ();
#define ONLY_INT_FIELDS
#endif
-/* We have STRERROR */
-#define HAVE_STRERROR
-
#ifdef __PPC__
#ifndef __STDC__
extern char *malloc (), *realloc (), *calloc ();