forked from OSchip/llvm-project
Attempt to fix LLVM_ENABLE_THREADS=OFF build after r358665
llvm-svn: 358858
This commit is contained in:
parent
ce67a41741
commit
18cfd9fdaf
|
@ -8723,7 +8723,9 @@ void clang::setThreadBackgroundPriority() {
|
||||||
if (getenv("LIBCLANG_BGPRIO_DISABLE"))
|
if (getenv("LIBCLANG_BGPRIO_DISABLE"))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
#if LLVM_ENABLE_THREADS
|
||||||
llvm::set_thread_priority(llvm::ThreadPriority::Background);
|
llvm::set_thread_priority(llvm::ThreadPriority::Background);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void cxindex::printDiagsToStderr(ASTUnit *Unit) {
|
void cxindex::printDiagsToStderr(ASTUnit *Unit) {
|
||||||
|
|
Loading…
Reference in New Issue