diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-03-14 12:33:17 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-03-14 12:33:17 +0530 |
commit | f427603aa26e6db9dfeaff06eb6a4bb9967f25cc (patch) | |
tree | 9cdb586f7a16bee0e2a9f3e88b3e4a0fb38cbb6e | |
parent | 665dd78ffed601f09db4cff784dce6e06ce1b797 (diff) | |
download | meson-f427603aa26e6db9dfeaff06eb6a4bb9967f25cc.zip meson-f427603aa26e6db9dfeaff06eb6a4bb9967f25cc.tar.gz meson-f427603aa26e6db9dfeaff06eb6a4bb9967f25cc.tar.bz2 |
tests/37 has header: Disable fallback test on macOS
-rw-r--r-- | test cases/common/37 has header/meson.build | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test cases/common/37 has header/meson.build b/test cases/common/37 has header/meson.build index c87f244..4299ce5 100644 --- a/test cases/common/37 has header/meson.build +++ b/test cases/common/37 has header/meson.build @@ -10,7 +10,12 @@ configure_file(input : non_existant_header, configuration : configuration_data()) # Test that the fallback to __has_include also works on all compilers -args = [[], ['-U__has_include']] +if host_system != 'darwin' + args = [[], ['-U__has_include']] +else + # On Darwin's clang you can't redefine builtin macros so the above doesn't work + args = [[]] +endif foreach arg : args foreach comp : [meson.get_compiler('c'), meson.get_compiler('cpp')] |