diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2009-05-29 22:07:30 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2009-05-29 22:07:30 +0000 |
commit | b0999b01149d3b429c78b98a7c24dd6f9652c08c (patch) | |
tree | d9b5fc06dd352eae6460232dfe9236b2a149a446 /fixincludes/tests | |
parent | 0a05c536a636a6420ef3e00df0e3e7f6d4b9584e (diff) | |
download | gcc-b0999b01149d3b429c78b98a7c24dd6f9652c08c.tar.gz |
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
Diffstat (limited to 'fixincludes/tests')
-rw-r--r-- | fixincludes/tests/base/sys/int_const.h | 17 | ||||
-rw-r--r-- | fixincludes/tests/base/sys/int_limits.h | 24 |
2 files changed, 41 insertions, 0 deletions
diff --git a/fixincludes/tests/base/sys/int_const.h b/fixincludes/tests/base/sys/int_const.h new file mode 100644 index 00000000000..7aeb52a79ce --- /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 00000000000..19acbe50a46 --- /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 */ |