commit d826f5b
Michael Forney
·
2026-05-15 08:29:38 +0000 UTC
parent 6bcb80e
curl: Disable atomics if not supported by compiler
1 files changed,
+4,
-0
+4,
-0
1@@ -59,7 +59,9 @@
2 #define HAVE_ALARM 1
3 /* #undef HAVE_ARC4RANDOM */
4 #define HAVE_ARPA_INET_H 1
5+#ifndef __STDC_NO_ATOMICS__
6 #define HAVE_ATOMIC 1
7+#endif
8 #define HAVE_BASENAME 1
9 #define HAVE_BOOL_T 1
10 /* #undef HAVE_BROTLI */
11@@ -190,7 +192,9 @@
12 /* #undef HAVE_SSL_SET1_ECH_CONFIG_LIST */
13 /* #undef HAVE_SSL_SET_QUIC_TLS_CBS */
14 /* #undef HAVE_SSL_SET_QUIC_USE_LEGACY_CODEPOINT */
15+#ifndef __STDC_NO_ATOMICS__
16 #define HAVE_STDATOMIC_H 1
17+#endif
18 #define HAVE_STDBOOL_H 1
19 #define HAVE_STDINT_H 1
20 #define HAVE_STDIO_H 1