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 | 82d0679e92a7a779c8c10074a5a2b43904165963 (patch) | |
| tree | 638c9c0c21a5bac2ad2d466ded837a0ff4ad61e5 /compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc | |
| parent | 4478b25adec5eee7b9e2e434cb348feb393ff7de (diff) | |
| download | bcm5719-llvm-82d0679e92a7a779c8c10074a5a2b43904165963.tar.gz bcm5719-llvm-82d0679e92a7a779c8c10074a5a2b43904165963.zip | |
[asan] attempting to fix x32 build (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59018)
llvm-svn: 194155
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc index 708a15185ce..18147daf807 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_linux.cc +++ b/compiler-rt/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; |

