Revert "vkd3d: make spinlock_t atomic to make clang happy"
This reverts commit 7b1dce2667
.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
parent
7b1dce2667
commit
2b7ef38248
|
@ -58,8 +58,6 @@ FORCEINLINE uint32_t vkd3d_uint32_atomic_exchange_explicit(uint32_t *target, uin
|
|||
return oldValue;
|
||||
}
|
||||
|
||||
#define _Atomic
|
||||
|
||||
#elif defined(__GNUC__) || defined(__clang__)
|
||||
|
||||
# include <stdatomic.h>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
#define vkd3d_spinlock_unlock(lock) vkd3d_uint32_atomic_store_explicit(lock, 0u, memory_order_release)
|
||||
|
||||
typedef _Atomic uint32_t spinlock_t;
|
||||
typedef uint32_t spinlock_t;
|
||||
|
||||
static inline void spinlock_init(spinlock_t *lock)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue