From: Jason A. Donenfeld Date: Sun, 14 Feb 2021 18:43:31 +0000 (+0100) Subject: runtime/cgo: use correct lean and mean macro X-Git-Tag: go1.17beta1~1429 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ab331c0254;p=gostls13.git runtime/cgo: use correct lean and mean macro WIN64_LEAN_AND_MEAN is not the correct macro to use and doesn't ever exist. Change-Id: I32a5523cc0f7cc3f3a4d022071cf81f88db39aa9 Reviewed-on: https://go-review.googlesource.com/c/go/+/291634 Trust: Jason A. Donenfeld Trust: Alex Brainman Run-TryBot: Jason A. Donenfeld TryBot-Result: Go Bot Reviewed-by: Alex Brainman --- diff --git a/src/runtime/cgo/gcc_libinit_windows.c b/src/runtime/cgo/gcc_libinit_windows.c index 2732248bdc..ad5038667a 100644 --- a/src/runtime/cgo/gcc_libinit_windows.c +++ b/src/runtime/cgo/gcc_libinit_windows.c @@ -4,7 +4,7 @@ // +build cgo -#define WIN64_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN #include #include diff --git a/src/runtime/cgo/gcc_windows_amd64.c b/src/runtime/cgo/gcc_windows_amd64.c index 25cfd086dd..9df9b9b1e4 100644 --- a/src/runtime/cgo/gcc_windows_amd64.c +++ b/src/runtime/cgo/gcc_windows_amd64.c @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#define WIN64_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN #include #include #include