Commit 3aee54b7 by Richard Stallman

(ieeefp.h): Delete definitions of __mips and __m68k.

From-SVN: r4491
parent 262555e2
...@@ -528,7 +528,8 @@ fi ...@@ -528,7 +528,8 @@ fi
# Delete any #defines of `__i386' which may be present in <ieeefp.h>. They # 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 # tend to conflict with the compiler's own definition of this symbol. (We
# will use the compiler's definition.) # 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 file=ieeefp.h
base=`basename $file` base=`basename $file`
...@@ -547,6 +548,7 @@ if [ \! -z "$file_to_fix" ]; then ...@@ -547,6 +548,7 @@ if [ \! -z "$file_to_fix" ]; then
chmod +w /tmp/$base chmod +w /tmp/$base
sed -e '/#define[ ]*__i386 /d' -e '/#define[ ]*__sparc /d' \ sed -e '/#define[ ]*__i386 /d' -e '/#define[ ]*__sparc /d' \
-e '/#define[ ]*__i860 /d' -e '/#define[ ]*__m88k /d' \ -e '/#define[ ]*__i860 /d' -e '/#define[ ]*__m88k /d' \
-e '/#define[ ]*__mips /d' -e '/#define[ ]*__m68k /d' \
/tmp/$base > /tmp/$base.sed /tmp/$base > /tmp/$base.sed
if cmp $file_to_fix /tmp/$base.sed >/dev/null 2>&1; then \ if cmp $file_to_fix /tmp/$base.sed >/dev/null 2>&1; then \
true true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment