diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-31 03:19:33 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-31 03:19:33 +0400 |
commit | 4d6b5fc65f22ed704f05e04d41771fb4579ee5a8 (patch) | |
tree | 9c257c0c323bb4a8c87e195a35cb665ee78f10f1 | |
parent | 100c963bd384f2c9f594263f0d241c3038a37f3b (diff) | |
download | kit-4d6b5fc65f22ed704f05e04d41771fb4579ee5a8.zip |
test
-rw-r--r-- | source/kit/atomic.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/kit/atomic.h b/source/kit/atomic.h index 8e3ceb8..23962a2 100644 --- a/source/kit/atomic.h +++ b/source/kit/atomic.h @@ -9,8 +9,11 @@ extern "C" { #ifndef _MSC_VER # include <stdatomic.h> + # define KIT_ATOMIC(type_) type_ _Atomic #else +# include <assert.h> + # define KIT_ATOMIC(type_) type_ volatile enum { |