mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-15 07:01:42 +03:00
Use InterlockedCompareExchange instead of non-existing InterlockedCompareExchange32
This commit is contained in:
parent
04211e2266
commit
c9db461ffb
1 changed files with 1 additions and 1 deletions
|
|
@ -457,7 +457,7 @@ atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s)
|
|||
{
|
||||
uint32_t o;
|
||||
|
||||
o = InterlockedCompareExchange32(p, s, c);
|
||||
o = InterlockedCompareExchange(p, s, c);
|
||||
return (o != c);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue