We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c620517 commit b8e4d68Copy full SHA for b8e4d68
public/nsync_atomic.h
@@ -45,7 +45,7 @@ NSYNC_CPP_END_
45
NSYNC_CPP_START_
46
typedef std::atomic<uint32_t> nsync_atomic_uint32_;
47
NSYNC_CPP_END_
48
-#define NSYNC_ATOMIC_UINT32_INIT_ ATOMIC_VAR_INIT (0)
+#define NSYNC_ATOMIC_UINT32_INIT_ { 0 }
49
#define NSYNC_ATOMIC_UINT32_LOAD_(p) (std::atomic_load (p))
50
#define NSYNC_ATOMIC_UINT32_STORE_(p,v) (std::atomic_store ((p), (uint32_t) (v)))
51
#define NSYNC_ATOMIC_UINT32_PTR_(p) (p)
0 commit comments