diff options
author | Bo Yang <teboring@google.com> | 2016-12-21 16:50:56 -0800 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-12-22 15:24:53 -0800 |
commit | 117f7716414bb0826ad4b78d9b27f30e6f8e2e24 (patch) | |
tree | 491166f8519f38b161d8da82fa0082c487f14b95 /src | |
parent | 2f38ce1f989366181e6677bbfbad07f4a074c7fb (diff) | |
download | protobuf-117f7716414bb0826ad4b78d9b27f30e6f8e2e24.tar.gz protobuf-117f7716414bb0826ad4b78d9b27f30e6f8e2e24.tar.bz2 protobuf-117f7716414bb0826ad4b78d9b27f30e6f8e2e24.zip |
Update _GNUC_VER to use the correct implementation of atomic operation on Mac.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/stubs/atomicops.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/google/protobuf/stubs/atomicops.h b/src/google/protobuf/stubs/atomicops.h index eacec663..c25492f3 100644 --- a/src/google/protobuf/stubs/atomicops.h +++ b/src/google/protobuf/stubs/atomicops.h @@ -196,7 +196,6 @@ Atomic64 Release_Load(volatile const Atomic64* ptr); // Apple. #elif defined(GOOGLE_PROTOBUF_OS_APPLE) -#pragma message(_GNUC_VER) #if __has_feature(cxx_atomic) || _GNUC_VER >= 407 #include <google/protobuf/stubs/atomicops_internals_generic_c11_atomic.h> #else // __has_feature(cxx_atomic) || _GNUC_VER >= 407 |