Commit: c3d8892fc4b3a2a6fdf1d978589094db80b03296
Parent: ea84adb43bf4ee21f315f19d0cdb63beb9bd660a
Author: Michael Forney
Date: Fri, 15 May 2026 01:29:38 -0700
curl: Disable atomics if not supported by compiler
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/pkg/curl/curl_config.h b/pkg/curl/curl_config.h
@@ -59,7 +59,9 @@
#define HAVE_ALARM 1
/* #undef HAVE_ARC4RANDOM */
#define HAVE_ARPA_INET_H 1
+#ifndef __STDC_NO_ATOMICS__
#define HAVE_ATOMIC 1
+#endif
#define HAVE_BASENAME 1
#define HAVE_BOOL_T 1
/* #undef HAVE_BROTLI */
@@ -190,7 +192,9 @@
/* #undef HAVE_SSL_SET1_ECH_CONFIG_LIST */
/* #undef HAVE_SSL_SET_QUIC_TLS_CBS */
/* #undef HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT */
+#ifndef __STDC_NO_ATOMICS__
#define HAVE_STDATOMIC_H 1
+#endif
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDIO_H 1