commit | 8a86d017bbf37846547ae66a819cfe6d5ea68539 | [log] [tgz] |
---|---|---|
author | Evgeniy Stepanov <[email protected]> | Thu Jan 04 19:47:55 2018 |
committer | Evgeniy Stepanov <[email protected]> | Thu Jan 04 19:47:55 2018 |
tree | b290d95b82416ce0608b76c65983ad7a6d8d1446 | |
parent | 7cae94e74c7092f29f9fc583eadb2d350c486028 [diff] |
[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