aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/RWMutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/RWMutex.cpp')
-rw-r--r--lib/Support/RWMutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/RWMutex.cpp b/lib/Support/RWMutex.cpp
index d0b1e10b56..d14b9765b8 100644
--- a/lib/Support/RWMutex.cpp
+++ b/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;