diff options
author | Austin Schuh <austin@peloton-tech.com> | 2015-06-08 18:49:16 -0700 |
---|---|---|
committer | Austin Schuh <austin@peloton-tech.com> | 2015-06-08 18:49:16 -0700 |
commit | fd73235f6b2534aa63af41359d9f386ade43a5cc (patch) | |
tree | 17eef748320d5e3ac728e12f04e88fa5fa301871 /src/google/protobuf/stubs/atomicops.h | |
parent | 9cbdaedb86debc56ffec91935ee9546f3c92eb0a (diff) | |
download | protobuf-fd73235f6b2534aa63af41359d9f386ade43a5cc.tar.gz protobuf-fd73235f6b2534aa63af41359d9f386ade43a5cc.tar.bz2 protobuf-fd73235f6b2534aa63af41359d9f386ade43a5cc.zip |
Refactored threadlocal logic.
Refactored the threadlocal logic for Android and IOS into logic in
platform_macro.h which computes a GOOGLE_PROTOBUF_NO_THREADLOCAL
define which is then used elsewhere. This allows new platforms
without THREADLOCAL to be easily defined.
Diffstat (limited to 'src/google/protobuf/stubs/atomicops.h')
-rw-r--r-- | src/google/protobuf/stubs/atomicops.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/stubs/atomicops.h b/src/google/protobuf/stubs/atomicops.h index bbe2d845..cd20caac 100644 --- a/src/google/protobuf/stubs/atomicops.h +++ b/src/google/protobuf/stubs/atomicops.h @@ -56,6 +56,7 @@ // Don't include this file for people not concerned about thread safety. #ifndef GOOGLE_PROTOBUF_NO_THREAD_SAFETY +#include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/platform_macros.h> namespace google { |