From 731282a8cca783c3f28d9c2e11d81c420a7e45ac Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 15 Feb 2011 09:45:25 -0800 Subject: Make -DUPB_THREAD_UNSAFE the default for now. --- src/upb_atomic.h | 3 +++ 1 file changed, 3 insertions(+) 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. ******************************************/ -- cgit v1.2.3