vcpkg/ports/grpc/00003-undef-base64-macro.patch
Carlos O'Ryan ebe505081b [grpc] Upgrade to gRPC-1.26.0 (#9363)
* WIP - Upgrade gRPC to 1.26.0

* Updated patch 00001

* Update 00002 patch.

* Update 00003

* Update 00005

* Remove 00007 patch.

* Really fix patch 00005

* Use CRLF for patches as before 🤷
2020-01-06 12:24:51 -08:00

14 lines
462 B
Diff

diff --git a/src/core/lib/transport/transport.cc b/src/core/lib/transport/transport.cc
index 6adcd8d..20745df 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;