Skip to content

Commit

Permalink
Merge pull request #487 from chrstphrchvz/patch-1
Browse files Browse the repository at this point in the history
Use `__apple_build_version__` to detect Apple clang
  • Loading branch information
jzmaddock authored Oct 24, 2023
2 parents 54afd34 + 9c34fb6 commit a98574f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/config/compiler/clang_version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt)

#if !defined(__APPLE__)
#if !defined(__apple_build_version__)

# define BOOST_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__ % 100)

Expand Down

0 comments on commit a98574f

Please sign in to comment.