* fixincludes: Tweak fix for struct exception in math.h
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jan 1998 21:16:28 +0000 (21:16 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jan 1998 21:16:28 +0000 (21:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17513 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/fixincludes

index 41e4418..07b42ad 100644 (file)
@@ -1,3 +1,7 @@
+Tue Jan 27 22:14:48 1998  Todd Vierling <tv@pobox.com>
+
+       * fixincludes: Tweak fix for struct exception in math.h
+
 Tue Jan 27 17:21:09 1998  Gavin Koch  (gavin@cygnus.com)
 
        * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
index 42d81b9..22d6c0e 100755 (executable)
@@ -2822,21 +2822,25 @@ if [ -r ${LIB}/$file ]; then
   sed -e '/struct exception/i\
 #ifdef __cplusplus\
 #define exception __math_exception\
-#endif'\
+#endif
+'\
       -e '/struct exception/a\
 #ifdef __cplusplus\
 #undef exception\
-#endif' ${LIB}/$file > ${LIB}/${file}.sed
+#endif
+' ${LIB}/$file > ${LIB}/${file}.sed
   rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
   if egrep 'matherr()' ${LIB}/$file >/dev/null 2>&1; then
     sed -e '/matherr/i\
 #ifdef __cplusplus\
 #define exception __math_exception\
-#endif'\
+#endif
+'\
         -e '/matherr/a\
 #ifdef __cplusplus\
 #undef exception\
-#endif' ${LIB}/$file > ${LIB}/${file}.sed
+#endif
+' ${LIB}/$file > ${LIB}/${file}.sed
     rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
   fi
   if cmp $file ${LIB}/$file >/dev/null 2>&1; then