diff options
| author | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2017-02-27 16:10:57 +0000 |
|---|---|---|
| committer | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2017-02-27 16:10:57 +0000 |
| commit | 68050fd694b7c670e01b488c61a81fd116516ac2 (patch) | |
| tree | f231fe4f398c389cdec111af09b1acf9760a8487 /libcxx/include | |
| parent | 00bf6f52dc1e406a51d358ee75d9ddb14eaefde3 (diff) | |
| download | bcm5719-llvm-68050fd694b7c670e01b488c61a81fd116516ac2.tar.gz bcm5719-llvm-68050fd694b7c670e01b488c61a81fd116516ac2.zip | |
Fix LIBCXX_HAS_EXTERNAL_THREAD_API builds. NFC.
Add the missing check in the __config header.
llvm-svn: 296351
Diffstat (limited to 'libcxx/include')
| -rw-r--r-- | libcxx/include/__config | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config index 77903123e8b..946ce70cbab 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -939,7 +939,8 @@ _LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container( // Thread API #if !defined(_LIBCPP_HAS_NO_THREADS) && \ - !defined(_LIBCPP_HAS_THREAD_API_PTHREAD) + !defined(_LIBCPP_HAS_THREAD_API_PTHREAD) && \ + !defined(_LIBCPP_HAS_THREAD_API_EXTERNAL) # if defined(__FreeBSD__) || \ defined(__Fuchsia__) || \ defined(__NetBSD__) || \ |

