We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e6c1ba commit 9defad0Copy full SHA for 9defad0
2 files changed
.wolfssl_known_macro_extras
@@ -1042,3 +1042,4 @@ ssize_t
1042
sun
1043
versal
1044
wc_Tls13_HKDF_Expand_Label
1045
+__STDC_NO_ATOMICS__
wolfssl/wolfcrypt/wc_port.h
@@ -1524,7 +1524,8 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
1524
#ifndef WOLFSSL_NO_FENCE
1525
#ifdef XFENCE
1526
/* use user-supplied XFENCE definition. */
1527
- #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
+ #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) && \
1528
+ !defined(__STDC_NO_ATOMICS__)
1529
#include <stdatomic.h>
1530
#define XFENCE() atomic_thread_fence(memory_order_seq_cst)
1531
#elif defined(__GNUC__) && (__GNUC__ == 4) && \
0 commit comments