From 017e851436459cd80f15cd1071a2b02758a7c61f Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Sun, 14 Aug 2022 05:42:05 +0400 Subject: fix 32 atomic for Windows --- source/kit/atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/kit/atomic.h b/source/kit/atomic.h index b9242c2..9100cd8 100644 --- a/source/kit/atomic.h +++ b/source/kit/atomic.h @@ -23,7 +23,7 @@ enum { # ifdef _WIN64 # define KIT_ATOMIC_VAR uint64_t # else -# define KIT_ATOMIC_VAR volatile uint32_t +# define KIT_ATOMIC_VAR uint32_t # endif # define KIT_ATOMIC(type_) volatile KIT_ATOMIC_VAR -- cgit v1.2.3