summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/ThreadLocal.cpp
diff options
context:
space:
mode:
authorDylan Noblesmith <nobled@dreamwidth.org>2011-11-28 00:48:58 +0000
committerDylan Noblesmith <nobled@dreamwidth.org>2011-11-28 00:48:58 +0000
commitefddf20126736849b93b33a6027790e64f388f45 (patch)
tree8e47230cceb5aac2d4b786408d91350bc8e1078c /llvm/lib/Support/ThreadLocal.cpp
parentdaef41b1d1c5baac0907ca7d70cf1782e8002c16 (diff)
downloadbcm5719-llvm-efddf20126736849b93b33a6027790e64f388f45.tar.gz
bcm5719-llvm-efddf20126736849b93b33a6027790e64f388f45.zip
rename ENABLE_THREADS to LLVM_ENABLE_THREADS
Now that it needs to be exported in a public header (Valgrind.h) it should be prefixed to avoid collision with other projects. Add it to llvm-config.h as well. This'll require regenerating the configure script after this commit, but I don't have the required autoconf version. llvm-svn: 145214
Diffstat (limited to 'llvm/lib/Support/ThreadLocal.cpp')
-rw-r--r--llvm/lib/Support/ThreadLocal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/ThreadLocal.cpp b/llvm/lib/Support/ThreadLocal.cpp
index fdb251c0a36..08b12b658be 100644
--- a/llvm/lib/Support/ThreadLocal.cpp
+++ b/llvm/lib/Support/ThreadLocal.cpp
@@ -19,7 +19,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