Skip to content

Commit

Permalink
Extend Clang 6 workaround to Clang 7 under Android. Fixes #100.
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Jan 10, 2023
1 parent 32bf67f commit b3faedf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/boost/system/detail/config.hpp
Expand Up @@ -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

Expand Down

0 comments on commit b3faedf

Please sign in to comment.