diff options
author | Kostya Serebryany <kcc@google.com> | 2013-11-06 17:47:39 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-11-06 17:47:39 +0000 |
commit | e041c6024b3ebf1365c0f99732fc69c607577571 (patch) | |
tree | 2a380a8b4ff23c9dae6f296c53467f4216e93b60 /lib/sanitizer_common/sanitizer_platform_limits_linux.cc | |
parent | 7d4a9553bd3bc43a310e1d13dd699b79f814d77b (diff) |
[asan] attempting to fix x32 build (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59018)
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@194155 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_platform_limits_linux.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_platform_limits_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_platform_limits_linux.cc b/lib/sanitizer_common/sanitizer_platform_limits_linux.cc index 708a15185..18147daf8 100644 --- a/lib/sanitizer_common/sanitizer_platform_limits_linux.cc +++ b/lib/sanitizer_common/sanitizer_platform_limits_linux.cc @@ -48,7 +48,7 @@ namespace __sanitizer { unsigned iocb_cmd_pread = IOCB_CMD_PREAD; unsigned iocb_cmd_pwrite = IOCB_CMD_PWRITE; -#ifndef _LP64 +#if !defined(_LP64) && !defined(__x86_64__) unsigned struct_kernel_stat64_sz = sizeof(struct stat64); #else unsigned struct_kernel_stat64_sz = 0; |