projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9490a6
)
(FREAD, FWRITE): Undef these macros if they were defined
author
Richard Stallman
<rms@gnu.org>
Mon, 23 Nov 1992 22:46:14 +0000
(22:46 +0000)
committer
Richard Stallman
<rms@gnu.org>
Mon, 23 Nov 1992 22:46:14 +0000
(22:46 +0000)
before including ldfcn.h.
From-SVN: r2780
gcc/collect2.c
patch
|
blob
|
history
diff --git
a/gcc/collect2.c
b/gcc/collect2.c
index 4b20174f21b03b824374e0d6857acf8dd8377538..70c14ec38fb986d443baafede39bc4ff00b96e44 100644
(file)
--- a/
gcc/collect2.c
+++ b/
gcc/collect2.c
@@
-103,7
+103,8
@@
extern int errno;
((magic) == U802WRMAGIC || (magic) == U802ROMAGIC || (magic) == U802TOCMAGIC)
#endif
-#if defined (_AIX) || defined (USG)
+/* Many versions of ldfcn.h define these. */
+#ifdef FREAD
#undef FREAD
#undef FWRITE
#endif