forked from OSchip/llvm-project
parent
3d09fdbf21
commit
8d487b4407
|
@ -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__
|
||||
|
|
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue