summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2011-02-15 09:45:25 -0800
committerJoshua Haberman <joshua@reverberate.org>2011-02-15 09:45:25 -0800
commit731282a8cca783c3f28d9c2e11d81c420a7e45ac (patch)
tree981d15f3c2b719147e565cc30cfe50a62add918e /src
parentec454c118994a7e48f09f6809d8f29aa07661cf9 (diff)
Make -DUPB_THREAD_UNSAFE the default for now.
Diffstat (limited to 'src')
-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