[libcxx] r268860 - Enable Pthread threading API on Solaris. Fix PR27677

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Sat May 7 10:05:46 PDT 2016


Author: ericwf
Date: Sat May  7 12:05:46 2016
New Revision: 268860

URL: http://llvm.org/viewvc/llvm-project?rev=268860&view=rev
Log:
Enable Pthread threading API on Solaris. Fix PR27677

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=268860&r1=268859&r2=268860&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Sat May  7 12:05:46 2016
@@ -818,7 +818,8 @@ extern "C" void __sanitizer_annotate_con
     defined(__NetBSD__) || \
     defined(__linux__) || \
     defined(__APPLE__) || \
-    defined(__CloudABI__)
+    defined(__CloudABI__) || \
+    defined(__sun__)
 #  define _LIBCPP_THREAD_API_PTHREAD
 # else
 #  error "No thread API"




More information about the cfe-commits mailing list