We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acd45ca commit 9eaeeb7Copy full SHA for 9eaeeb7
include/boost/config/compiler/clang_version.hpp
@@ -4,10 +4,10 @@
4
5
#if !defined(__APPLE__)
6
7
-# 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)
8
9
#else
10
-# 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)
11
12
// https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
13
0 commit comments