aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-07-13 15:54:56 +0100
committergingerBill <bill@gingerbill.org>2021-07-13 15:54:56 +0100
commited5a4afc8c308c6db12d29d89b70738033ff46ec (patch)
treeae37e745808fcf0ea11f8e344d5256ad865dec8f /src/common.cpp
parentf29b51efddcc90c4545119fa77772e4a03e71719 (diff)
Temporarily disable `-threaded-checker`; Restructure the untyped-expr-info system to be much more thread-friendly
Diffstat (limited to 'src/common.cpp')
-rw-r--r--src/common.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp
index 211fd4be4..9d528d723 100644
--- a/src/common.cpp
+++ b/src/common.cpp
@@ -27,6 +27,7 @@
#include <math.h>
#include <string.h>
+#include <atomic> // Because I wanted the C++11 memory order semantics, of which gb.h does not offer (because it was a C89 library)
gb_inline void zero_size(void *ptr, isize len) {
memset(ptr, 0, len);