From 458c48278affd2d888dcd2abc2fe31e6a8f0d214 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 16 Jun 1992 12:05:52 +0000 Subject: [PATCH] * hosts/sparc.h (abort, exit): Hide these names if compiling with gcc version 2, to avoid warnings. --- bfd/hosts/sparc.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h index e03a09429df..1239406dfd7 100644 --- a/bfd/hosts/sparc.h +++ b/bfd/hosts/sparc.h @@ -12,7 +12,13 @@ #define SEEK_SET 0 #define SEEK_CUR 1 #ifdef __STDC__ +#if __GNUC__ >= 2 +#define abort __hide_abort +#define exit __hide_exit +#endif #include +#undef exit +#undef abort #include #else extern char *EXFUN(mktemp,(CONST char*)); -- 2.30.2