commit | cb36bfa3de3ecba0e30de766999243eb72360533 | [log] [tgz] |
---|---|---|
author | Amy Huang <akhuang@google.com> | Fri Feb 14 15:31:45 2020 -0800 |
committer | Amy Huang <akhuang@google.com> | Fri Feb 14 15:58:36 2020 -0800 |
tree | a0d4985cf48fd9b33cfda7587f5b6527efa0ef97 | |
parent | dc3e499dd4a6bd0882ca0af453cea99620320ffe [diff] |
Fix 01b02a73de78 to use correct macro spelling and fix unit tests.
diff --git a/llvm/lib/Support/Host.cpp b/llvm/lib/Support/Host.cpp index 371271e..cafdc2f 100644 --- a/llvm/lib/Support/Host.cpp +++ b/llvm/lib/Support/Host.cpp
@@ -1326,7 +1326,7 @@ } return count; } -#elif defined(_WIN32) && LLVM_THREADS_ENABLED +#elif defined(_WIN32) && LLVM_ENABLE_THREADS != 0 // Defined in llvm/lib/Support/Windows/Threading.inc int computeHostNumPhysicalCores(); #else