[compiler-rt] r174598 - [sanitizer] Exclude off64_t test on mac.
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Thu Feb 7 01:34:08 PST 2013
Author: eugenis
Date: Thu Feb 7 03:34:08 2013
New Revision: 174598
URL: http://llvm.org/viewvc/llvm-project?rev=174598&view=rev
Log:
[sanitizer] Exclude off64_t test on mac.
Modified:
compiler-rt/trunk/lib/interception/interception_type_test.cc
Modified: compiler-rt/trunk/lib/interception/interception_type_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/interception_type_test.cc?rev=174598&r1=174597&r2=174598&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/interception_type_test.cc (original)
+++ compiler-rt/trunk/lib/interception/interception_type_test.cc Thu Feb 7 03:34:08 2013
@@ -23,7 +23,10 @@ COMPILER_CHECK(sizeof(SIZE_T) == sizeof(
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
More information about the llvm-commits
mailing list