Fix NetBSD 32-bit build
authorKamil Rytarowski <n54@gmx.com>
Sat, 3 Mar 2018 18:38:20 +0000 (18:38 +0000)
committerKamil Rytarowski <n54@gmx.com>
Sat, 3 Mar 2018 18:38:20 +0000 (18:38 +0000)
Replace 'defined(SANITIZER_OPENBSD)' with appropriate 'SANITIZER_OPENBSD'.

This is a fallout from adding OpenBSD partial support.

llvm-svn: 326662

compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h

index f5002ecb356bf0f0f1e3058eed076720929cbc86..a93eb819d485b923433889bb58c2f1f8337cb8a3 100644 (file)
@@ -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