mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Use __apple_build_version__ to detect Apple clang
…since __APPLE__ is defined by both Apple Clang and LLVM.org Clang on Apple platforms.
This commit is contained in:
committed by
GitHub
parent
54afd34839
commit
9c34fb6585
@ -2,7 +2,7 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0.
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
// https://www.boost.org/LICENSE_1_0.txt)
|
// 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)
|
# define BOOST_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__ % 100)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user