]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* fixincludes: Tweak fix for struct exception in math.h
authorTodd Vierling <tv@pobox.com>
Mon, 9 Feb 1998 21:09:45 +0000 (21:09 +0000)
committerJeff Law <law@gcc.gnu.org>
Mon, 9 Feb 1998 21:09:45 +0000 (14:09 -0700)
From-SVN: r17810

gcc/ChangeLog
gcc/fixincludes

index 3b5331034a3ace37359949325773353e25856e2b..56caf507a792706ee71fc96b4862565b83c60a69 100644 (file)
@@ -1,3 +1,7 @@
+Mon Feb  9 22:10:58 1998  Todd Vierling <tv@pobox.com>
+
+       * fixincludes: Tweak fix for struct exception in math.h
+
 Mon Feb  9 01:15:08 1998  Mark Mitchell  <mmitchell@usa.net>
 
         * integrate.c (get_label_from_map): New function.
index 2a41c8d568fbd1fd72af1ed6dc88971d1374300f..d7c93bfe9e3b6bdb29bbf09e308ff9c23a32b58c 100755 (executable)
@@ -2765,21 +2765,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