aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-01 20:04:15 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-01 20:04:15 +0000
commit343222a2a0bdc34f09dfbd1abfb06b2d1e8d5d46 (patch)
treeaf9c1f2eaa80ea9afa8a969dcfd0ff9032dc7429 /conform
parentconformtest: Support testing macro usability in #if. (diff)
downloadglibc-343222a2a0bdc34f09dfbd1abfb06b2d1e8d5d46.tar.gz
glibc-343222a2a0bdc34f09dfbd1abfb06b2d1e8d5d46.tar.bz2
glibc-343222a2a0bdc34f09dfbd1abfb06b2d1e8d5d46.zip
conformtest: Don't test non-C90 headers for C90.
Diffstat (limited to 'conform')
-rw-r--r--conform/data/iso646.h-data2
-rw-r--r--conform/data/stdint.h-data2
2 files changed, 4 insertions, 0 deletions
diff --git a/conform/data/iso646.h-data b/conform/data/iso646.h-data
index ffbf489f7a..7ac7d09abb 100644
--- a/conform/data/iso646.h-data
+++ b/conform/data/iso646.h-data
@@ -1,3 +1,4 @@
+#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4
macro and
macro and_eq
macro bitand
@@ -11,3 +12,4 @@ macro xor
macro xor_eq
allow *_t
+#endif
diff --git a/conform/data/stdint.h-data b/conform/data/stdint.h-data
index 5b3fb17f4e..99bdf22ac6 100644
--- a/conform/data/stdint.h-data
+++ b/conform/data/stdint.h-data
@@ -1,3 +1,4 @@
+#if !defined ISO && !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
type int8_t
type int16_t
type int32_t
@@ -112,3 +113,4 @@ macro UINTMAX_C
// fnamtch implementation doesn't grok the right form.
allow INT*
allow UINT*
+#endif