summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2018-03-03 18:38:20 +0000
committerKamil Rytarowski <n54@gmx.com>2018-03-03 18:38:20 +0000
commitfc44eb07a74d50ea72a97f45f148fd8573b70eaf (patch)
tree1af3f4b7ad38ae2b57d7f0b0b77005b2ef7aad3b
parent9119b844a39df87f624dfc55657800d38c6ccece (diff)
downloadbcm5719-llvm-fc44eb07a74d50ea72a97f45f148fd8573b70eaf.tar.gz
bcm5719-llvm-fc44eb07a74d50ea72a97f45f148fd8573b70eaf.zip
Fix NetBSD 32-bit build
Replace 'defined(SANITIZER_OPENBSD)' with appropriate 'SANITIZER_OPENBSD'. This is a fallout from adding OpenBSD partial support. llvm-svn: 326662
-rw-r--r--compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h b/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
index f5002ecb356..a93eb819d48 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
+++ b/compiler-rt/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
OpenPOWER on IntegriCloud