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
This commit is contained in:
Kamil Rytarowski 2018-03-03 18:38:20 +00:00
parent 9119b844a3
commit fc44eb07a7
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ typedef u64 OFF64_T;
#if (SANITIZER_WORDSIZE == 64) || SANITIZER_MAC #if (SANITIZER_WORDSIZE == 64) || SANITIZER_MAC
typedef uptr operator_new_size_type; typedef uptr operator_new_size_type;
#else #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. // Special case: 31-bit s390 has unsigned long as size_t.
typedef unsigned long operator_new_size_type; typedef unsigned long operator_new_size_type;
# else # else