We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bbbc40d + 7122001 commit 005a57fCopy full SHA for 005a57f
1 file changed
wolfssl/wolfcrypt/wc_port.h
@@ -1257,7 +1257,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
1257
/* use user-supplied XFENCE definition. */
1258
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
1259
#include <stdatomic.h>
1260
- #define XFENCE() atomic_thread_fence(__ATOMIC_SEQ_CST)
+ #define XFENCE() atomic_thread_fence(memory_order_seq_cst)
1261
#elif defined(__GNUC__) && (__GNUC__ >= 4) && (__GNUC__ < 5)
1262
#define XFENCE() __sync_synchronize()
1263
#elif (defined(__GNUC__) && (__GNUC__ >= 5)) || defined (__clang__)
0 commit comments