summaryrefslogtreecommitdiff
path: root/src/upb_atomic.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/upb_atomic.h')
-rw-r--r--src/upb_atomic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/upb_atomic.h b/src/upb_atomic.h
index 1cd848b..87d06fe 100644
--- a/src/upb_atomic.h
+++ b/src/upb_atomic.h
@@ -29,6 +29,9 @@ extern "C" {
#define INLINE static inline
#endif
+// Until this stuff is actually working, make thread-unsafe the default.
+#define UPB_THREAD_UNSAFE
+
#ifdef UPB_THREAD_UNSAFE
/* Non-thread-safe implementations. ******************************************/
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback