summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-15 15:25:28 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-15 15:25:28 (GMT)
commit75bd5c41785e9ea2bcd5e2ffda575d660a1c9dae (patch)
tree812d50374e7cffe013db91b3670ed03d128d95e6 /test
parent7def813d94b47dffd1c06c047797f8a5c5bbdf1a (diff)
parentae69145cf7f10d4da8d18d1efbdefcfa0f7cc003 (diff)
downloadCastXML-75bd5c41785e9ea2bcd5e2ffda575d660a1c9dae.zip
CastXML-75bd5c41785e9ea2bcd5e2ffda575d660a1c9dae.tar.gz
CastXML-75bd5c41785e9ea2bcd5e2ffda575d660a1c9dae.tar.bz2
Merge branch 'ppc64'
* ppc64: Detect: Drop detected predefined macros conflicting with Clang's Detect: Fix GNU builtin include directory detection on ppc64
Diffstat (limited to 'test')
-rw-r--r--test/cc-gnu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cc-gnu.c b/test/cc-gnu.c
index 750efea..e74ccf7 100644
--- a/test/cc-gnu.c
+++ b/test/cc-gnu.c
@@ -31,6 +31,10 @@ int main(int argc, const char* argv[])
"#define __has_include(x) x\n"
"#define __has_include_next(x) x\n"
"#define __GNUC_MINOR__ 1\n"
+ "#define __bool __bool\n"
+ "#define __builtin_vsx_foo __builtin_vsx_foo\n"
+ "#define __pixel __pixel\n"
+ "#define __vector __vector\n"
"#define __has_last(x) x"
);
fprintf(stderr,