vcpkg/ports/grpc/00003-undef-base64-macro.patch

14 lines
478 B
Diff
Raw Normal View History

diff --git a/src/core/lib/transport/transport.cc b/src/core/lib/transport/transport.cc
index 09306110c6..eb0ad96a7a 100644
--- a/src/core/lib/transport/transport.cc
+++ b/src/core/lib/transport/transport.cc
@@ -134,6 +134,8 @@ void grpc_stream_ref_init(grpc_stream_refcount* refcount, int initial_refs,
refcount->slice_refcount.sub_refcount = &refcount->slice_refcount;
}
+#undef move64
+
static void move64(uint64_t* from, uint64_t* to) {
*to += *from;
*from = 0;