mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-23 21:23:06 +00:00
Use InterlockedCompareExchange instead of non-existing InterlockedCompareExchange32
This commit is contained in:
@@ -457,7 +457,7 @@ atomic_cas_uint32(uint32_t *p, uint32_t c, uint32_t s)
|
|||||||
{
|
{
|
||||||
uint32_t o;
|
uint32_t o;
|
||||||
|
|
||||||
o = InterlockedCompareExchange32(p, s, c);
|
o = InterlockedCompareExchange(p, s, c);
|
||||||
return (o != c);
|
return (o != c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user