vcpkg/ports/grpc/00003-undef-base64-macro.patch
2020-08-22 22:25:20 -07:00

14 lines
455 B
Diff

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