From: Ken Raeburn Date: Tue, 16 Jun 1992 12:05:52 +0000 (+0000) Subject: * hosts/sparc.h (abort, exit): Hide these names if compiling with X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=458c48278affd2d888dcd2abc2fe31e6a8f0d214;p=binutils-gdb.git * hosts/sparc.h (abort, exit): Hide these names if compiling with gcc version 2, to avoid warnings. --- 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*));