[sanitizer] Switch to an older version of struct iocb that is found in the latest Android NDK.

They are binary compatible, and we don't use any of the new fields anyway.

llvm-svn: 193870
This commit is contained in:
Evgeniy Stepanov 2013-11-01 17:48:35 +00:00
parent ef1a950b48
commit 7342857825
2 changed files with 1 additions and 4 deletions

View File

@ -68,7 +68,5 @@ CHECK_SIZE_AND_OFFSET(iocb, aio_fildes);
CHECK_SIZE_AND_OFFSET(iocb, aio_buf);
CHECK_SIZE_AND_OFFSET(iocb, aio_nbytes);
CHECK_SIZE_AND_OFFSET(iocb, aio_offset);
CHECK_SIZE_AND_OFFSET(iocb, aio_flags);
CHECK_SIZE_AND_OFFSET(iocb, aio_resfd);
#endif // SANITIZER_LINUX

View File

@ -82,8 +82,7 @@ namespace __sanitizer {
u64 aio_nbytes;
s64 aio_offset;
u64 aio_reserved2;
u32 aio_flags;
u32 aio_resfd;
u64 aio_reserved3;
};
extern unsigned iocb_cmd_pread;