forked from boostorg/config
Use __clang_patchlevel__ % 100, because __clang_patchlevel__ is 300080 for Android NDK r16b (refs boostorg/assert#28)
This commit is contained in:
@@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
#if !defined(__APPLE__)
|
#if !defined(__APPLE__)
|
||||||
|
|
||||||
# define BOOST_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
|
# define BOOST_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__ % 100)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
# define BOOST_CLANG_REPORTED_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__)
|
# define BOOST_CLANG_REPORTED_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__ % 100)
|
||||||
|
|
||||||
// https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
|
// https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user