From 3593d9ef7ea4d0253db5574ee9b9ab7ddc4488cf Mon Sep 17 00:00:00 2001 From: Dana Dahlstrom Date: Sun, 21 Jan 2024 21:00:00 -0800 Subject: [PATCH] Don't define OPENSSL_C11_ATOMIC for STARBOARD --- third_party/boringssl/src/crypto/internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/boringssl/src/crypto/internal.h b/third_party/boringssl/src/crypto/internal.h index 51e2a34408b..2817d22cfce 100644 --- a/third_party/boringssl/src/crypto/internal.h +++ b/third_party/boringssl/src/crypto/internal.h @@ -511,6 +511,7 @@ OPENSSL_EXPORT void CRYPTO_once(CRYPTO_once_t *once, void (*init)(void)); // Automatically enable C11 atomics if implemented. #if !defined(OPENSSL_C11_ATOMIC) && defined(OPENSSL_THREADS) && \ + !defined(STARBOARD) && \ !defined(__STDC_NO_ATOMICS__) && defined(__STDC_VERSION__) && \ __STDC_VERSION__ >= 201112L #define OPENSSL_C11_ATOMIC