diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-16 21:25:40 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-08-16 21:25:40 +0000 |
| commit | f4bdbea02ff507bceb2c519ce01d92ed5b7f8bde (patch) | |
| tree | 3047337b07ef5bd3c0f093a15754ad6a1fdc1b9d /llvm/lib/Support | |
| parent | 3af3f1e8e253d93cb655388af69f4ed1722b4f51 (diff) | |
| download | bcm5719-llvm-f4bdbea02ff507bceb2c519ce01d92ed5b7f8bde.tar.gz bcm5719-llvm-f4bdbea02ff507bceb2c519ce01d92ed5b7f8bde.zip | |
[RWMutex] Simplify availability check
Check for the actual version number for the scenarios where the macOS
version isn't available (__MAC_10_12).
llvm-svn: 369154
Diffstat (limited to 'llvm/lib/Support')
| -rw-r--r-- | llvm/lib/Support/RWMutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/RWMutex.cpp b/llvm/lib/Support/RWMutex.cpp index f89e0ed6d1b..5accf73e5f9 100644 --- a/llvm/lib/Support/RWMutex.cpp +++ b/llvm/lib/Support/RWMutex.cpp @@ -14,7 +14,7 @@ #include "llvm/Support/RWMutex.h" #include "llvm/Config/config.h" -#if defined(USE_RW_MUTEX_IMPL) +#if defined(LLVM_USE_RW_MUTEX_IMPL) using namespace llvm; using namespace sys; |

