aboutsummaryrefslogtreecommitdiff
path: root/www/ungoogled-chromium/files/patch-third__party_protobuf_src_google_protobuf_arenastring.cc
blob: 65cd3b9406d46c7ff9615bb6d6024354519405bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- third_party/protobuf/src/google/protobuf/arenastring.cc.orig	2022-10-01 07:40:07 UTC
+++ third_party/protobuf/src/google/protobuf/arenastring.cc
@@ -64,7 +64,9 @@ constexpr size_t kNewAlign = alignof(std::max_align_t)
 #endif
 constexpr size_t kStringAlign = alignof(std::string);
 
+#if !(defined(__FreeBSD__) && defined(__i386__))
 static_assert((kStringAlign > kNewAlign ? kStringAlign : kNewAlign) >= 8, "");
+#endif
 static_assert(alignof(ExplicitlyConstructedArenaString) >= 8, "");
 
 }  // namespace