diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-14 13:24:03 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-14 13:24:03 +0000 |
| commit | 8d487b440755e2f1f24fa82bcc6580fbbaf9ab20 (patch) | |
| tree | 5d239cfeb25b64a9141d559c3b03f81ab2a93017 /compiler-rt | |
| parent | 3d09fdbf2133d2f67b937d4be5b51a48e3cefa2e (diff) | |
| download | bcm5719-llvm-8d487b440755e2f1f24fa82bcc6580fbbaf9ab20.tar.gz bcm5719-llvm-8d487b440755e2f1f24fa82bcc6580fbbaf9ab20.zip | |
[sanitizer] No dirent64 on Android.
llvm-svn: 177071
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc index 92bd88f5fae..1046b62819e 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc @@ -42,12 +42,12 @@ namespace __sanitizer { #if defined(__linux__) unsigned struct_rlimit_sz = sizeof(struct rlimit); unsigned struct_dirent_sz = sizeof(struct dirent); - unsigned struct_dirent64_sz = sizeof(struct dirent64); unsigned struct_statfs_sz = sizeof(struct statfs); unsigned struct_epoll_event_sz = sizeof(struct epoll_event); #endif // __linux__ #if defined(__linux__) && !defined(__ANDROID__) + unsigned struct_dirent64_sz = sizeof(struct dirent64); unsigned struct_rlimit64_sz = sizeof(struct rlimit64); unsigned struct_statfs64_sz = sizeof(struct statfs64); #endif // __linux__ && !__ANDROID__ diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h index 0807c4a6c6f..2eac01649ef 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h @@ -25,12 +25,12 @@ namespace __sanitizer { #if defined(__linux__) extern unsigned struct_rlimit_sz; extern unsigned struct_dirent_sz; - extern unsigned struct_dirent64_sz; extern unsigned struct_statfs_sz; extern unsigned struct_epoll_event_sz; #endif // __linux__ #if defined(__linux__) && !defined(__ANDROID__) + extern unsigned struct_dirent64_sz; extern unsigned struct_rlimit64_sz; extern unsigned struct_statfs64_sz; #endif // __linux__ && !__ANDROID__ |

