diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-11-28 00:48:58 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2011-11-28 00:48:58 +0000 |
commit | 08b73a30bbb6407c7b48a734a29f65f4c8ddd782 (patch) | |
tree | 040bff3119ed96aea1eede023bdf4cfed7d70c68 /lib/Support/RWMutex.cpp | |
parent | 81818fc770bde5e279a1990f269b80da3219907c (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/RWMutex.cpp')
-rw-r--r-- | lib/Support/RWMutex.cpp | 2 |
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; |