summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/atomic.h3
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 {