Extend Clang 6 workaround to Clang 7 under Android. Fixes #100.

This commit is contained in:
Peter Dimov
2023-01-10 03:09:20 +02:00
parent 32bf67f748
commit b3faedfe3e

View File

@ -64,7 +64,9 @@
// BOOST_SYSTEM_CLANG_6
#if defined(__clang__) && (__clang_major__ < 7 || (defined(__APPLE__) && __clang_major__ < 11))
// Android NDK r18b has Clang 7.0.2 that still needs the workaround
// https://github.com/boostorg/system/issues/100
#if defined(__clang__) && (__clang_major__ < 7 || (defined(__APPLE__) && __clang_major__ < 11) || (defined(__ANDROID__) && __clang_major__ == 7))
# define BOOST_SYSTEM_CLANG_6
#endif