summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcc.c')
-rwxr-xr-xgcc/gcc.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index c956c2d..b3b08fb 100755
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1161,22 +1161,7 @@ char *
xstrerror(e)
int e;
{
-#ifdef HAVE_STRERROR
-
- return strerror(e);
-
-#else
-
- static char buffer[30];
- if (!e)
- return "cannot access";
-
- if (e > 0 && e < sys_nerr)
- return sys_errlist[e];
-
- sprintf (buffer, "Unknown error %d", e);
- return buffer;
-#endif
+ return strerror(e);
}
static char *