forked from OSchip/llvm-project
[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:
parent
ef1a950b48
commit
7342857825
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue