llvm-project/libcxx
Hafiz Abid Qadeer f78bb4d84e [libc++] Check _LIBCPP_USE_CLOCK_GETTIME before using clock_gettime
The clock_gettime function is available when _POSIX_TIMERS is defined.
We check for this and set _LIBCPP_USE_CLOCK_GETTIME accordingly since
59b3102739. But check for _LIBCPP_USE_CLOCK_GETTIME was removed in
babd3aefc9. As a result, code is now trying to use clock_gettime even
on platforms where it is not available and it is causing build failure
with newlib.

This patch restores the checks to fix this.

Differential Revision: https://reviews.llvm.org/D88825
2020-10-06 11:56:54 -04:00
..
benchmarks [libc++] Add a benchmark for std::map operations 2020-09-15 12:09:29 -04:00
cmake [libc++] Fix eager generator expression in DefineLinkerScript 2020-07-31 11:20:19 -04:00
docs [libc++] Implement C++20's P0784 (More constexpr containers) 2020-09-22 11:20:33 -04:00
fuzzing [libc++] Tolerate NaN returning random distributions for now 2019-12-12 17:11:13 -05:00
include [libc++] NFC: Rename variant helpers to avoid name clashes 2020-10-05 16:41:25 -04:00
lib [libc++/abi] Revert "[libc++] Move the weak symbols list to libc++abi" 2020-10-05 11:42:13 -04:00
src [libc++] Check _LIBCPP_USE_CLOCK_GETTIME before using clock_gettime 2020-10-06 11:56:54 -04:00
test [libc++] Allow retries in two flaky tests 2020-10-06 11:32:19 -04:00
utils [libcxx][lit] Add support for custom ssh/scp flags in ssh.py 2020-10-06 11:38:52 +01:00
www [libc++] Re-apply fdc41e11f (LWG1203) without breaking the C++11 build 2020-09-23 08:56:00 -04:00
.clang-format
.gitignore [libcxx] Fix .gitignore to not exclude test directories 2020-03-25 17:52:23 -07:00
CMakeLists.txt [libc++] Allow overriding the cached value of LIBCXX_TEST_CONFIG 2020-09-08 11:29:32 -04:00
CREDITS.TXT [libcxx] Adds [concept.same] 2020-04-08 18:00:13 -04:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
NOTES.TXT Reland "Use custom command and target to install libc++ headers" 2018-06-12 03:10:02 +00:00
TODO.TXT [libc++][NFC] Remove outdated TODO item 2020-07-08 13:04:33 -04:00
appveyor-reqs-install.cmd Attempt to upgrade compiler used by appveyor builds 2019-04-03 20:40:01 +00:00
appveyor.yml disable appveyor config for MSVC 2015 2019-04-03 20:36:51 +00:00