vkd3d-common: Get rid of InterlockedAdd().

This was once used by libvkd3d's fence worker thread, but currently this is
unused.
This commit is contained in:
Henri Verbeet 2024-01-11 00:11:52 +01:00 committed by Alexandre Julliard
parent 1a036ddff6
commit 4db7b40ca8
Notes: Alexandre Julliard 2024-01-15 23:03:04 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/562

View File

@ -277,10 +277,6 @@ static inline LONG64 InterlockedIncrement64(LONG64 volatile *x)
{
return __sync_add_and_fetch(x, 1);
}
static inline LONG InterlockedAdd(LONG volatile *x, LONG val)
{
return __sync_add_and_fetch(x, val);
}
# else
# error "InterlockedIncrement() not implemented for this platform"
# endif /* HAVE_SYNC_ADD_AND_FETCH */