Enable Pthread threading API on Solaris. Fix PR27677

llvm-svn: 268860
This commit is contained in:
Eric Fiselier 2016-05-07 17:05:46 +00:00
parent 420852e8d4
commit b06c012243
1 changed files with 2 additions and 1 deletions

View File

@ -818,7 +818,8 @@ extern "C" void __sanitizer_annotate_contiguous_container(
defined(__NetBSD__) || \
defined(__linux__) || \
defined(__APPLE__) || \
defined(__CloudABI__)
defined(__CloudABI__) || \
defined(__sun__)
# define _LIBCPP_THREAD_API_PTHREAD
# else
# error "No thread API"