about summary refs log tree commit diff
path: root/conform/data/stdbool.h-data
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-07 19:36:48 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-07 19:36:48 +0000
commit05bcf62afbfcf1a42ef2d8e80e0dba887d970781 (patch)
treec83528edc34f837ad2ce15e54c890d25faf14ad7 /conform/data/stdbool.h-data
parent01f34a3bd8c087ca4be0bd24857e454c8d29f20b (diff)
downloadglibc-05bcf62afbfcf1a42ef2d8e80e0dba887d970781.tar.gz
glibc-05bcf62afbfcf1a42ef2d8e80e0dba887d970781.tar.xz
glibc-05bcf62afbfcf1a42ef2d8e80e0dba887d970781.zip
conformtest: Clean up / correct / expand C99 and C11 expectations.
Diffstat (limited to 'conform/data/stdbool.h-data')
-rw-r--r--conform/data/stdbool.h-data10
1 files changed, 10 insertions, 0 deletions
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