Fix misspelling of structure field name.
This commit is contained in:
parent
a0eece4606
commit
ad0bcd65ab
@ -123,7 +123,7 @@ enum memory_order {
|
||||
|
||||
#if defined(__CLANG_ATOMICS) || defined(__GNUC_ATOMICS)
|
||||
#define atomic_is_lock_free(obj) \
|
||||
__atomic_is_lock_free(sizeof((obj)->__val), &(obj)->val)
|
||||
__atomic_is_lock_free(sizeof((obj)->__val), &(obj)->__val)
|
||||
#else
|
||||
#define atomic_is_lock_free(obj) \
|
||||
((void)(obj), sizeof((obj)->__val) <= sizeof(void *))
|
||||
|
Loading…
Reference in New Issue
Block a user