diff options
author | Feng Xiao <xiaofeng@google.com> | 2016-02-22 09:27:27 -0800 |
---|---|---|
committer | Feng Xiao <xiaofeng@google.com> | 2016-02-22 09:27:27 -0800 |
commit | 513a8a69df75d2ea116e3a109143cb487e756f9e (patch) | |
tree | 16ba341d10ce73115dad90893207ba41b553b3f4 /src/google/protobuf/stubs/atomicops.h | |
parent | 32daf513ced8d51e8de6cc8d800cfc972c4df5d6 (diff) | |
parent | ff156e4863c36c08814bfda08e60ff58f6a6cefc (diff) | |
download | protobuf-513a8a69df75d2ea116e3a109143cb487e756f9e.tar.gz protobuf-513a8a69df75d2ea116e3a109143cb487e756f9e.tar.bz2 protobuf-513a8a69df75d2ea116e3a109143cb487e756f9e.zip |
Merge pull request #804 from bsilver8192/master
Add atomics support for 32-bit PPC.
Diffstat (limited to 'src/google/protobuf/stubs/atomicops.h')
-rw-r--r-- | src/google/protobuf/stubs/atomicops.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/google/protobuf/stubs/atomicops.h b/src/google/protobuf/stubs/atomicops.h index cb93227f..9b3d1e6b 100644 --- a/src/google/protobuf/stubs/atomicops.h +++ b/src/google/protobuf/stubs/atomicops.h @@ -214,6 +214,8 @@ Atomic64 Release_Load(volatile const Atomic64* ptr); #include <google/protobuf/stubs/atomicops_internals_power.h> #elif defined(__native_client__) #include <google/protobuf/stubs/atomicops_internals_pnacl.h> +#elif defined(GOOGLE_PROTOBUF_ARCH_PPC) +#include <google/protobuf/stubs/atomicops_internals_ppc_gcc.h> #elif (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 7)) || (__GNUC__ > 4)) #include <google/protobuf/stubs/atomicops_internals_generic_gcc.h> #elif defined(__clang__) |