diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-08-18 18:22:22 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-08-18 18:22:22 +0000 |
commit | c33b837af399c75bc1dec0aaa1d5b3944964b1c6 (patch) | |
tree | 7bb246fc12a420a3cb2707bc8e4e928e4f2cae9c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 99fd9c5f56bcc22822e8a5938e52b78c6142cacc (diff) | |
download | llvm-c33b837af399c75bc1dec0aaa1d5b3944964b1c6.zip llvm-c33b837af399c75bc1dec0aaa1d5b3944964b1c6.tar.gz llvm-c33b837af399c75bc1dec0aaa1d5b3944964b1c6.tar.bz2 |
Use __has_include rather than a configure-time macro to determine if
<sys/resource.h> is available. This should fix out-of-tree builds, at the cost
of not providing the higher rlimits to stage 1 clang when built with an old
host compiler not implementing this feature yet (bootstrap builds should be
fine, though).
llvm-svn: 279112
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions