diff options
author | Mara Sophie Grosch <littlefox@lf-net.org> | 2020-05-07 12:10:33 -0400 |
---|---|---|
committer | Louis Dionne <ldionne@apple.com> | 2020-05-07 13:15:10 -0400 |
commit | 59b3102739c5988c9fc7ea77888de1bc8ce9c8ab (patch) | |
tree | d3b28a15d02a6a0d9b2abc78d417671875b157cd /llvm/lib/Support/VirtualFileSystem.cpp | |
parent | 34a57dc972c2d16f176e47339a7c2c95cdc31e75 (diff) | |
download | llvm-59b3102739c5988c9fc7ea77888de1bc8ce9c8ab.zip llvm-59b3102739c5988c9fc7ea77888de1bc8ce9c8ab.tar.gz llvm-59b3102739c5988c9fc7ea77888de1bc8ce9c8ab.tar.bz2 |
[libc++] chrono: check _POSIX_TIMERS before using clock_gettime
clock_gettime is documented to be available when _POSIX_TIMERS is
defined. Add a check for this.
Differential Revision: https://reviews.llvm.org/D79305
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions