From d4289bdd6d7102d5fc10f782752ac8dbfae6883c Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 3 Jul 2009 20:27:05 +0000 Subject: inclhack.def (solaris_int_types): New fix. * inclhack.def (solaris_int_types): New fix. * fixincl.x: Regenerate. * tests/base/sys/int_types.h: New file. From-SVN: r149209 --- fixincludes/tests/base/sys/int_types.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 fixincludes/tests/base/sys/int_types.h (limited to 'fixincludes/tests') diff --git a/fixincludes/tests/base/sys/int_types.h b/fixincludes/tests/base/sys/int_types.h new file mode 100644 index 0000000..39bb68a --- /dev/null +++ b/fixincludes/tests/base/sys/int_types.h @@ -0,0 +1,20 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/sys/int_types.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( SOLARIS_INT_TYPES_CHECK ) +#if (defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__)) && !defined(_NO_LONGLONG) +typedef long long int64_t; +#endif + +#if defined(_LP64) || ((defined(_STDC_C99) || !defined(_STRICT_STDC) || defined(__GNUC__)) && !defined(_NO_LONGLONG)) +typedef int64_t intmax_t; +#endif +#endif /* SOLARIS_INT_TYPES_CHECK */ -- cgit v1.1