[fixinc patch] Add disabled hacks from old fixincludes 4/5
Bruce Korb
bkorb@veritas.com
Wed Aug 27 01:05:00 GMT 2003
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
More information about the Gcc-patches
mailing list