Skip to content
Commit 8a86d017 authored by Evgeniy Stepanov's avatar Evgeniy Stepanov
Browse files

[asan] Fix build with Android NDK < 14.

NDK < 13 & API_LEVEL < 21 do not define struct mmsghdr.
Newer NDK use unified headers and provide this definition for all api
levels.

Since we can not check for the NDK version, check the api level. This
is more strict than absolutely necessary, but it does not really
matter: it is only a sanity check.

llvm-svn: 321817
parent 7cae94e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment