aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-02-21 21:37:04 +0300
committerpg <pg@yandex-team.com>2023-02-21 21:37:04 +0300
commit30a18749b20f928c6c3af0d0a15cd48ab0a7569e (patch)
tree32d0c1e9b77469ba484bd8194698bd0caad2d82f
parentc20eadfbd3a39852d4153c9a7018840cf0a6d256 (diff)
downloadydb-30a18749b20f928c6c3af0d0a15cd48ab0a7569e.tar.gz
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/port_def.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/libs/protobuf/src/google/protobuf/port_def.inc b/contrib/libs/protobuf/src/google/protobuf/port_def.inc
index 4859701206..5706dc22d5 100644
--- a/contrib/libs/protobuf/src/google/protobuf/port_def.inc
+++ b/contrib/libs/protobuf/src/google/protobuf/port_def.inc
@@ -811,3 +811,10 @@
# undef __has_builtin
# undef PROTOBUF_has_builtin_DEFINED_
#endif
+
+#if defined(__clang__) && defined(_WIN32)
+#undef PROTOBUF_MUSTTAIL
+#undef PROTOBUF_TAILCALL
+#define PROTOBUF_MUSTTAIL
+#define PROTOBUF_TAILCALL false
+#endif