diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-15 09:45:25 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-15 09:45:25 -0800 |
commit | 731282a8cca783c3f28d9c2e11d81c420a7e45ac (patch) | |
tree | 981d15f3c2b719147e565cc30cfe50a62add918e /src | |
parent | ec454c118994a7e48f09f6809d8f29aa07661cf9 (diff) |
Make -DUPB_THREAD_UNSAFE the default for now.
Diffstat (limited to 'src')
-rw-r--r-- | src/upb_atomic.h | 3 |
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. ******************************************/ |