summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/RWMutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/RWMutex.cpp')
-rw-r--r--llvm/lib/Support/RWMutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/RWMutex.cpp b/llvm/lib/Support/RWMutex.cpp
index d0b1e10b56f..d14b9765b85 100644
--- a/llvm/lib/Support/RWMutex.cpp
+++ b/llvm/lib/Support/RWMutex.cpp
@@ -20,7 +20,7 @@
//=== independent code.
//===----------------------------------------------------------------------===//
-#if !defined(ENABLE_THREADS) || ENABLE_THREADS == 0
+#if !defined(LLVM_ENABLE_THREADS) || LLVM_ENABLE_THREADS == 0
// Define all methods as no-ops if threading is explicitly disabled
namespace llvm {
using namespace sys;
OpenPOWER on IntegriCloud