mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 19:25:27 +08:00
2fda34be1f
This PR includes the following changes that are required to get gRPC to build for ARM/ARM64 on Windows 1) Updated to v1.20.1 2) Disables Codegen Build for ARM/ARM64 builds 3) Rebased the "Fix UWP" patch so that it will apply properly 4) Fixed the "Static Linking in Linux" patch because it specified an invalid option on Windows builds 5) Added patch to "#undef" a macro name collision 6) Added GDI32.lib to the list of standard libraries linked to Windows
14 lines
478 B
Diff
14 lines
478 B
Diff
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;
|