From 8216d185936cb9bc509e1f99facbbe4da1c60ff8 Mon Sep 17 00:00:00 2001 From: AJ Heller Date: Wed, 26 Jun 2024 15:35:59 -0700 Subject: [PATCH] [tracing] Fix ERROR logging on Windows --- src/core/lib/debug/trace_impl.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/lib/debug/trace_impl.h b/src/core/lib/debug/trace_impl.h index 705e2bbe572..45d4f8cba40 100644 --- a/src/core/lib/debug/trace_impl.h +++ b/src/core/lib/debug/trace_impl.h @@ -25,6 +25,10 @@ #include +#ifdef _WIN32 +#undef ERROR +#endif + void grpc_tracer_init(); void grpc_tracer_shutdown(void);