We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9666394 commit 7122001Copy full SHA for 7122001
1 file changed
wolfssl/wolfcrypt/wc_port.h
@@ -1268,7 +1268,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
1268
/* use user-supplied XFENCE definition. */
1269
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
1270
#include <stdatomic.h>
1271
- #define XFENCE() atomic_thread_fence(__ATOMIC_SEQ_CST)
+ #define XFENCE() atomic_thread_fence(memory_order_seq_cst)
1272
#elif defined(__GNUC__) && (__GNUC__ >= 4) && (__GNUC__ < 5)
1273
#define XFENCE() __sync_synchronize()
1274
#elif (defined(__GNUC__) && (__GNUC__ >= 5)) || defined (__clang__)
0 commit comments