From b0999b01149d3b429c78b98a7c24dd6f9652c08c Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Fri, 29 May 2009 22:07:30 +0000 Subject: inclhack.def (solaris_int_const): New fix. * inclhack.def (solaris_int_const): New fix. (solaris_int_limits_1): Likewise. (solaris_int_limits_2): Likewise. * fixincl.x: Regenerate. * tests/base/sys/int_const.h: New file. * tests/base/sys/int_limits.h: Likewise. From-SVN: r147988 --- fixincludes/tests/base/sys/int_const.h | 17 +++++++++++++++++ fixincludes/tests/base/sys/int_limits.h | 24 ++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 fixincludes/tests/base/sys/int_const.h create mode 100644 fixincludes/tests/base/sys/int_limits.h (limited to 'fixincludes/tests') diff --git a/fixincludes/tests/base/sys/int_const.h b/fixincludes/tests/base/sys/int_const.h new file mode 100644 index 0000000..7aeb52a --- /dev/null +++ b/fixincludes/tests/base/sys/int_const.h @@ -0,0 +1,17 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/sys/int_const.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( SOLARIS_INT_CONST_CHECK ) +#pragma ident "@(#)int_const.h 1.5 04/09/28 SMI" +#define UINT8_C(c) (c) +/* CSTYLED */ +#define UINT16_C(c) (c) +#endif /* SOLARIS_INT_CONST_CHECK */ diff --git a/fixincludes/tests/base/sys/int_limits.h b/fixincludes/tests/base/sys/int_limits.h new file mode 100644 index 0000000..19acbe5 --- /dev/null +++ b/fixincludes/tests/base/sys/int_limits.h @@ -0,0 +1,24 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/sys/int_limits.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( SOLARIS_INT_LIMITS_1_CHECK ) +#pragma ident "@(#)int_limits.h 1.9 04/09/28 SMI" +#define UINT8_MAX (255) +#define UINT16_MAX (65535) +#endif /* SOLARIS_INT_LIMITS_1_CHECK */ + + +#if defined( SOLARIS_INT_LIMITS_2_CHECK ) +#pragma ident "@(#)int_limits.h 1.9 04/09/28 SMI" +#define INT_FAST16_MAX INT32_MAX +#define UINT_FAST16_MAX UINT32_MAX +#define INT_FAST16_MIN INT32_MIN +#endif /* SOLARIS_INT_LIMITS_2_CHECK */ -- cgit v1.1