This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: OSR5 include file fixes
- To: Bruce Korb <bkorb at sco dot COM>
- Subject: Re: OSR5 include file fixes
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Mon, 1 May 2000 00:00:31 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- References: <390CC367.3AABD3D8@sco.com>
On Sun, Apr 30, 2000 at 04:36:07PM -0700, Bruce Korb wrote:
>
> This patch will allow OSR5 to use the compiled fixincludes
> instead of the fixinc.sco script.
...
> /*
> + * "!__STDC__" is "!defined( __STRICT_ANSI__ )"
> + */
> +fix = {
> + hackname = sco_strict_ansi;
> + mach = "i?86-*-sco3.2*";
> + select = "^[ \t]*#[ \t]*if.*!__STDC__";
> + sed = 's/!__STDC__/!defined(__STRICT_ANSI__)/g';
> +};
Instead of doing that, you should define STDC_0_IN_SYSTEM_HEADERS for
sco3.
zw