From 44f083d49b6236116efdc91cc4783b764d44a413 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 7 Feb 2013 09:34:08 +0000 Subject: [PATCH] [sanitizer] Exclude off64_t test on mac. llvm-svn: 174598 --- compiler-rt/lib/interception/interception_type_test.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler-rt/lib/interception/interception_type_test.cc b/compiler-rt/lib/interception/interception_type_test.cc index f60e672..7b79b78 100644 --- a/compiler-rt/lib/interception/interception_type_test.cc +++ b/compiler-rt/lib/interception/interception_type_test.cc @@ -23,7 +23,10 @@ COMPILER_CHECK(sizeof(SIZE_T) == sizeof(size_t)); COMPILER_CHECK(sizeof(SSIZE_T) == sizeof(ssize_t)); COMPILER_CHECK(sizeof(PTRDIFF_T) == sizeof(ptrdiff_t)); COMPILER_CHECK(sizeof(INTMAX_T) == sizeof(intmax_t)); + +#ifndef __APPLE__ COMPILER_CHECK(sizeof(OFF64_T) == sizeof(off64_t)); +#endif // The following are the cases when pread (and friends) is used instead of // pread64. In those cases we need OFF_T to match off_t. We don't care about the -- 2.7.4