app-editors/appflowy-bin: add 0.5.7, drop 0.5.5
[gentoo-zh.git] / net-proxy / yass / files / boringssl-gcc-14.patch
blob366e21f458d1411a6b29853c2325231f7762c248
1 diff --git a/third_party/boringssl/src/crypto/internal.h b/third_party/boringssl/src/crypto/internal.h
2 index 762eaae8c..27652fbe9 100644
3 --- a/third_party/boringssl/src/crypto/internal.h
4 +++ b/third_party/boringssl/src/crypto/internal.h
5 @@ -1201,7 +1201,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) {
7 // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry
8 // bit. |carry| must be zero or one.
9 -#if OPENSSL_HAS_BUILTIN(__builtin_addc)
10 +#if OPENSSL_HAS_BUILTIN(__builtin_addc) && !defined(__cplusplus)
12 #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \
13 (_Generic((x), \
14 @@ -1253,7 +1253,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry,
16 // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow
17 // bit. |borrow| must be zero or one.
18 -#if OPENSSL_HAS_BUILTIN(__builtin_subc)
19 +#if OPENSSL_HAS_BUILTIN(__builtin_subc) && !defined(__cplusplus)
21 #define CRYPTO_GENERIC_SUBC(x, y, borrow, out_borrow) \
22 (_Generic((x), \