libclang: make darwin pthread hacks conditional on LLVM_ENABLE_THREADS
authorAlp Toker <alp@nuanti.com>
Sun, 6 Jul 2014 06:24:00 +0000 (06:24 +0000)
committerAlp Toker <alp@nuanti.com>
Sun, 6 Jul 2014 06:24:00 +0000 (06:24 +0000)
commit1a86ad21d1154e63fa4a9811278a5086cc6282a4
treef189fe77523d3226c1d0f044f9a92573ac769a02
parentdbb0c75977287947e02f0ae539e1213147810a4b
libclang: make darwin pthread hacks conditional on LLVM_ENABLE_THREADS

Although these aren't strictly related to LLVM's core threading, it's
reasonable to avoid pthread usage in clang when building with
LLVM_ENABLE_THREADS disabled.

llvm-svn: 212395
clang/tools/libclang/CIndex.cpp