diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-01-04 19:47:55 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2018-01-04 19:47:55 +0000 |
commit | 8a86d017bbf37846547ae66a819cfe6d5ea68539 (patch) | |
tree | b290d95b82416ce0608b76c65983ad7a6d8d1446 /clang/lib/Lex/ModuleMap.cpp | |
parent | 7cae94e74c7092f29f9fc583eadb2d350c486028 (diff) | |
download | llvm-8a86d017bbf37846547ae66a819cfe6d5ea68539.zip llvm-8a86d017bbf37846547ae66a819cfe6d5ea68539.tar.gz llvm-8a86d017bbf37846547ae66a819cfe6d5ea68539.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions