This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fixinc patch] Add disabled hacks from old fixincludes 4/5
- From: Bruce Korb <bkorb at veritas dot com>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 26 Aug 2003 18:13:40 -0700
- Subject: Re: [fixinc patch] Add disabled hacks from old fixincludes 4/5
- Organization: Home
- References: <20030827002520.GA10919@twcny.rr.com>
Nathanael Nerode wrote:
>
> Appears to do the right thing. Bruce, OK for mainline?
Yes.
> * fixinc/inclhack.def (longlong_t): New disabled test, ported
> from fixinc.svr4.
>
> Index: inclhack.def
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/fixinc/inclhack.def,v
> retrieving revision 1.177
> diff -u -r1.177 inclhack.def
> --- inclhack.def 26 Aug 2003 23:50:17 -0000 1.177
> +++ inclhack.def 27 Aug 2003 00:23:56 -0000
> @@ -1653,6 +1653,21 @@
>
>
> /*
> + * Apparently some SVR4 systems typedef longlong_t to long ?
> + */
> +#ifdef SVR4
> +fix = {
> + hackname = longlong_t;
> + select = "typedef[ \t]+(unsigned[ \t]+)?long[ \t]+(u_)?longlong_t";
> + c_fix = format;
> + c_fix_arg = "typedef %1long long %2longlong_t";
> + test_text = "typedef long longlong_t\n"
> + "typedef unsigned long u_longlong_t";
> +};
> +#endif