* hosts/sparc.h (abort, exit): Hide these names if compiling with
authorKen Raeburn <raeburn@cygnus>
Tue, 16 Jun 1992 12:05:52 +0000 (12:05 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 16 Jun 1992 12:05:52 +0000 (12:05 +0000)
gcc version 2, to avoid warnings.

bfd/hosts/sparc.h

index e03a09429dfbee11cb90a8774574badf25b1b2f5..1239406dfd7a7788d6a599e62354f3b69dc0b21a 100644 (file)
 #define SEEK_SET 0
 #define SEEK_CUR 1
 #ifdef __STDC__
+#if __GNUC__ >= 2
+#define abort __hide_abort
+#define exit __hide_exit
+#endif
 #include <stdlib.h>
+#undef exit
+#undef abort
 #include <string.h>
 #else
 extern char *EXFUN(mktemp,(CONST char*));