Fix UC_ATOMIC_ADD
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
* Atomically increment *ptr
|
||||
* @return *ptr before the increment
|
||||
*/
|
||||
#define UC_ATOMIC_INC(ptr) UC_ATOMIC_SUB((ptr), 1)
|
||||
#define UC_ATOMIC_INC(ptr) UC_ATOMIC_ADD((ptr), 1)
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user