diff options
author | Olivier Hainque <hainque@adacore.com> | 2021-12-16 13:50:25 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@adacore.com> | 2022-01-06 12:04:13 +0000 |
commit | 75b8a726171bcb2e06d70e6179e9926a7ffd73cc (patch) | |
tree | 6f8b787fb36d2736c271aa26729c5f23392af798 /fixincludes/tests | |
parent | 80ad67e2af0620d58d57d0406dc22693cf5b8ca9 (diff) | |
download | gcc-75b8a726171bcb2e06d70e6179e9926a7ffd73cc.zip gcc-75b8a726171bcb2e06d70e6179e9926a7ffd73cc.tar.gz gcc-75b8a726171bcb2e06d70e6179e9926a7ffd73cc.tar.bz2 |
Add VxWworks fixincludes hack, don't expect yvals.h from gcc
yvals.h on VxWorks expects the toolchain to provide its own
version of the header, which we don't do. Arrange to fallback
on the common system definitions instead.
2021-12-16 Olivier Hainque <hainque@adacore.com>
fixincludes/
* inclhack.def (vxworks_next_yvals): New hack.
* tests/base/yvals.h: New expected test result.
* fixincl.x: Regenerate.
Diffstat (limited to 'fixincludes/tests')
-rw-r--r-- | fixincludes/tests/base/yvals.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fixincludes/tests/base/yvals.h b/fixincludes/tests/base/yvals.h new file mode 100644 index 0000000..ea384d9 --- /dev/null +++ b/fixincludes/tests/base/yvals.h @@ -0,0 +1,17 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/yvals.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( VXWORKS_NEXT_YVALS_CHECK ) +#if 0 /* GCC does not provide yvals.h. */ +#include_next <yvals.h> +#else + +#endif /* VXWORKS_NEXT_YVALS_CHECK */ |