From 05bcf62afbfcf1a42ef2d8e80e0dba887d970781 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 7 Nov 2012 19:36:48 +0000 Subject: conformtest: Clean up / correct / expand C99 and C11 expectations. --- conform/data/stdbool.h-data | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 conform/data/stdbool.h-data (limited to 'conform/data/stdbool.h-data') diff --git a/conform/data/stdbool.h-data b/conform/data/stdbool.h-data new file mode 100644 index 0000000000..9ef218c5e2 --- /dev/null +++ b/conform/data/stdbool.h-data @@ -0,0 +1,10 @@ +#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98 +macro bool +macro-int-constant true {int} == 1 +macro-int-constant false {int} == 0 +macro-int-constant __bool_true_false_are_defined {int} == 1 + +#if !defined ISO && !defined ISO99 && !defined ISO11 +allow *_t +#endif +#endif -- cgit v1.2.3