mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-common: Get rid of InterlockedIncrement().
This commit is contained in:
committed by
Alexandre Julliard
parent
51f13391e6
commit
c64921e79b
Notes:
Alexandre Julliard
2024-02-06 23:42:38 +01:00
Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/633
@@ -305,11 +305,6 @@ static inline uint32_t vkd3d_atomic_increment_u32(uint32_t volatile *x)
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
static inline LONG InterlockedIncrement(LONG volatile *x)
|
||||
{
|
||||
return vkd3d_atomic_increment_u32((uint32_t *)x);
|
||||
}
|
||||
|
||||
static inline LONG InterlockedDecrement(LONG volatile *x)
|
||||
{
|
||||
return vkd3d_atomic_decrement_u32((uint32_t *)x);
|
||||
|
Reference in New Issue
Block a user