summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/interception
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/interception')
-rw-r--r--compiler-rt/lib/interception/interception_type_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler-rt/lib/interception/interception_type_test.cc b/compiler-rt/lib/interception/interception_type_test.cc
index f60e6728e2d..7b79b783fbe 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
OpenPOWER on IntegriCloud