projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce07dd7
)
* hosts/sparc.h (abort, exit): Hide these names if compiling with
author
Ken Raeburn
<raeburn@cygnus>
Tue, 16 Jun 1992 12:05:52 +0000
(12:05 +0000)
committer
Ken Raeburn
<raeburn@cygnus>
Tue, 16 Jun 1992 12:05:52 +0000
(12:05 +0000)
gcc version 2, to avoid warnings.
bfd/hosts/sparc.h
patch
|
blob
|
history
diff --git
a/bfd/hosts/sparc.h
b/bfd/hosts/sparc.h
index
e03a094
..
1239406
100644
(file)
--- 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 <stdlib.h>
+#undef exit
+#undef abort
#include <string.h>
#else
extern char *EXFUN(mktemp,(CONST char*));