[libcxx] r347347 - [libcxx] Fix threads detection on GNU/Hurd

Louis Dionne ldionne at apple.com
Tue Nov 20 13:14:05 PST 2018


Author: ldionne
Date: Tue Nov 20 13:14:05 2018
New Revision: 347347

URL: http://llvm.org/viewvc/llvm-project?rev=347347&view=rev
Log:
[libcxx] Fix threads detection on GNU/Hurd

GNU/Hurd provides standard Posix threads

Reviewed as https://reviews.llvm.org/D54339.
Thanks to Samuel Thibault for the patch.

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=347347&r1=347346&r2=347347&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Tue Nov 20 13:14:05 2018
@@ -1143,6 +1143,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanit
       defined(__Fuchsia__) || \
       defined(__NetBSD__) || \
       defined(__linux__) || \
+      defined(__GNU__) || \
       defined(__APPLE__) || \
       defined(__CloudABI__) || \
       defined(__sun__) || \




More information about the libcxx-commits mailing list