This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

fixinc patch for Solaris 2.6


Attached is a patch for egcs 970910 so that it works on Solaris 2.6.
This is essentially the same as the patch offered by Casper Dik in
comp.unix.solaris for standard gcc and which has apparently found its
way into the Solaris 2.x FAQ.  Don't ask me why it's needed ... I have
no idea.


James
*** gcc/fixinc.svr4.orig        Mon Sep 15 15:35:41 1997
--- gcc/fixinc.svr4     Mon Sep 15 15:36:28 1997
***************
*** 203,208 ****
--- 203,209 ----
          s/__STDC__[   ][      ]*!=[   ][      ]*0/defined (__STRICT_ANSI__)/g
          s/__STDC__[   ][      ]*!=[   ][      ]*1/!defined (__STRICT_ANSI__)/g
          s/__STDC__ - 0 == 0/!defined (__STRICT_ANSI__)/g
+         s/__STDC__ - 0 == 1/defined (__STRICT_ANSI__)/g
          /^typedef[    ][      ]*[unsigned     ]*long[         ][      ]*[u_]*longlong_t;/s/long/long long/
        ' $2/$file > $2/$file.sed
        mv $2/$file.sed $2/$file

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]