diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-23 23:15:50 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-01-24 01:21:43 +0530 |
commit | 7e1654bf083a78080ce92f0f2fe0310aae41e0d3 (patch) | |
tree | 478233d2abef3233376e6be395bd1801e4b4e683 /run_unittests.py | |
parent | f49b50d432a066e420d50f1f546c1b23fa87687d (diff) | |
download | meson-7e1654bf083a78080ce92f0f2fe0310aae41e0d3.zip meson-7e1654bf083a78080ce92f0f2fe0310aae41e0d3.tar.gz meson-7e1654bf083a78080ce92f0f2fe0310aae41e0d3.tar.bz2 |
compilers: Use __has_include macro for has_header checks
If it's available, it's much much faster than doing #include
+ preprocess. Speeds up has_header checks by about 40% for me.
Currently, only Clang supports this
Diffstat (limited to 'run_unittests.py')
0 files changed, 0 insertions, 0 deletions