summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-14 05:42:05 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-14 05:42:05 +0400
commit017e851436459cd80f15cd1071a2b02758a7c61f (patch)
treea7ae25ad903b3478b1ee7f46e55e247ea6fde071
parentdd83d3fe95ae0757cbf97a349f292dd5ea8b2bf5 (diff)
downloadkit-017e851436459cd80f15cd1071a2b02758a7c61f.zip
fix 32 atomic for Windows
-rw-r--r--source/kit/atomic.h2
1 files changed, 1 insertions, 1 deletions
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