summaryrefslogtreecommitdiff
path: root/fixincludes/tests
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2021-12-16 13:50:25 +0000
committerOlivier Hainque <hainque@adacore.com>2022-01-06 12:04:13 +0000
commit75b8a726171bcb2e06d70e6179e9926a7ffd73cc (patch)
tree6f8b787fb36d2736c271aa26729c5f23392af798 /fixincludes/tests
parent80ad67e2af0620d58d57d0406dc22693cf5b8ca9 (diff)
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.h17
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 00000000000..ea384d9cf9e
--- /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 */