mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 20:37:15 +02:00
Fix a compiling problem under ClangC2.
This commit is contained in:
@ -57,7 +57,7 @@
|
||||
#define BOOST_HAS_NRVO
|
||||
|
||||
// Branch prediction hints
|
||||
#if defined(__has_builtin)
|
||||
#if !defined (__c2__) && defined(__has_builtin)
|
||||
#if __has_builtin(__builtin_expect)
|
||||
#define BOOST_LIKELY(x) __builtin_expect(x, 1)
|
||||
#define BOOST_UNLIKELY(x) __builtin_expect(x, 0)
|
||||
|
Reference in New Issue
Block a user