fix raw_ptr.cc on exotic architectures

pull/18193/head
jagub2 4 months ago
parent 9efb6064a9
commit 4958e0f85e
No known key found for this signature in database
GPG Key ID: B076A4FC86DB4E98
  1. 2
      src/google/protobuf/raw_ptr.cc

@ -18,7 +18,7 @@ namespace protobuf {
namespace internal {
ABSL_CONST_INIT PROTOBUF_EXPORT
ABSL_CACHELINE_ALIGNED const char kZeroBuffer[ABSL_CACHELINE_SIZE] = {};
ABSL_CACHELINE_ALIGNED const char kZeroBuffer[std::max(ABSL_CACHELINE_SIZE, 64)] = {};
} // namespace internal
} // namespace protobuf

Loading…
Cancel
Save