Merge pull request #487 from chrstphrchvz/patch-1

Use `__apple_build_version__` to detect Apple clang
This commit is contained in:
jzmaddock
2023-10-25 00:04:31 +01:00
committed by GitHub

View File

@@ -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)