diff options
author | Kamil Rytarowski <n54@gmx.com> | 2018-03-03 18:38:20 +0000 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2018-03-03 18:38:20 +0000 |
commit | 18248228f8a8c234ccded870041a79eb7e832663 (patch) | |
tree | 66af1d595f115b4d20a95880e9f63b6f0a95d9a2 | |
parent | a0c344366f52b5c8fd4b9443a0b9b6c154ecff9b (diff) |
Fix NetBSD 32-bit build
Replace 'defined(SANITIZER_OPENBSD)' with appropriate 'SANITIZER_OPENBSD'.
This is a fallout from adding OpenBSD partial support.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@326662 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/sanitizer_common/sanitizer_internal_defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_internal_defs.h b/lib/sanitizer_common/sanitizer_internal_defs.h index f5002ecb3..a93eb819d 100644 --- a/lib/sanitizer_common/sanitizer_internal_defs.h +++ b/lib/sanitizer_common/sanitizer_internal_defs.h @@ -172,7 +172,7 @@ typedef u64 OFF64_T; #if (SANITIZER_WORDSIZE == 64) || SANITIZER_MAC typedef uptr operator_new_size_type; #else -# if defined(SANITIZER_OPENBSD) || defined(__s390__) && !defined(__s390x__) +# if SANITIZER_OPENBSD || defined(__s390__) && !defined(__s390x__) // Special case: 31-bit s390 has unsigned long as size_t. typedef unsigned long operator_new_size_type; # else |