diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2020-01-25 12:20:24 -0500 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2020-01-25 12:20:24 -0500 |
commit | 10be08aa276916b4dc286abc269ed0a175f033dd (patch) | |
tree | 7ba57f5f7d61597d32af25e08dfcd1ce157390b0 /fixincludes/tests | |
parent | 98dd8c97e44ee8134cecf681045b715a8a73c7cd (diff) |
Fix missing SCNuMAX defines in inttypes.h on hpux11.[01]*
2020-01-25 John David Anglin <danglin@gcc.gnu.org>
* inclhack.def (hpux_c99_inttypes4): New, add missing SCNuMAX defines.
* fixincl.x: Regenerate.
* tests/base/inttypes.h: Update for above fix.
Diffstat (limited to 'fixincludes/tests')
-rw-r--r-- | fixincludes/tests/base/inttypes.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fixincludes/tests/base/inttypes.h b/fixincludes/tests/base/inttypes.h index e2216832666..144ea6596e8 100644 --- a/fixincludes/tests/base/inttypes.h +++ b/fixincludes/tests/base/inttypes.h @@ -33,3 +33,12 @@ #endif #endif /* HPUX_C99_INTTYPES3_CHECK */ + + +#if defined( HPUX_C99_INTTYPES4_CHECK ) +#define SCNxMAX SCNx64 +#define SCNuMAX SCNu64 +#define SCNxMAX SCNx32 +#define SCNuMAX SCNu32 + +#endif /* HPUX_C99_INTTYPES4_CHECK */ |