aboutsummaryrefslogtreecommitdiff
path: root/www/qt6-webengine/files/patch-src_3rdparty_chromium_third__party_boringssl_src_crypto_refcount__c11.c
blob: 25cae0821ee007766d45839a284d677e3b61eec8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/3rdparty/chromium/third_party/boringssl/src/crypto/refcount_c11.c.orig	2022-09-24 10:57:32 UTC
+++ src/3rdparty/chromium/third_party/boringssl/src/crypto/refcount_c11.c
@@ -22,6 +22,9 @@
 #include <stdatomic.h>
 #include <stdlib.h>
 
+#if !defined(__cplusplus) && !defined(static_assert)
+#define static_assert _Static_assert
+#endif
 
 // See comment above the typedef of CRYPTO_refcount_t about these tests.
 static_assert(alignof(CRYPTO_refcount_t) == alignof(_Atomic CRYPTO_refcount_t),