summaryrefslogtreecommitdiff
path: root/gcc/fixinc.svr4
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-05-17 21:34:46 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-05-17 21:34:46 +0000
commitd5aae85cbf96d88411ebfb1013d3336848807bbc (patch)
treea2a1ea576885f0f8b4a8c75f5b64585796e4da26 /gcc/fixinc.svr4
parentfce508b5996024f118c3646ba7a4538b9dc24ce1 (diff)
downloadgcc-d5aae85cbf96d88411ebfb1013d3336848807bbc.tar.gz
(ieeefp.h): Delete definitions of __mips and __m68k.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4491 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc.svr4')
-rwxr-xr-xgcc/fixinc.svr44
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/fixinc.svr4 b/gcc/fixinc.svr4
index 9091debbe7a..244c6784cf2 100755
--- a/gcc/fixinc.svr4
+++ b/gcc/fixinc.svr4
@@ -528,7 +528,8 @@ fi
# Delete any #defines of `__i386' which may be present in <ieeefp.h>. They
# tend to conflict with the compiler's own definition of this symbol. (We
# will use the compiler's definition.)
-# Likewise __sparc, for Solaris, and __i860, and (this is a guess) __m88k.
+# Likewise __sparc, for Solaris, and __i860, and a few others
+# (guessing it is necessary for all of them).
file=ieeefp.h
base=`basename $file`
@@ -547,6 +548,7 @@ if [ \! -z "$file_to_fix" ]; then
chmod +w /tmp/$base
sed -e '/#define[ ]*__i386 /d' -e '/#define[ ]*__sparc /d' \
-e '/#define[ ]*__i860 /d' -e '/#define[ ]*__m88k /d' \
+ -e '/#define[ ]*__mips /d' -e '/#define[ ]*__m68k /d' \
/tmp/$base > /tmp/$base.sed
if cmp $file_to_fix /tmp/$base.sed >/dev/null 2>&1; then \
true