From: Ian Lance Taylor Date: Fri, 29 Nov 2024 21:18:26 +0000 (-0800) Subject: libbacktrace: use WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN X-Git-Tag: basepoints/gcc-16~3744 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8f5732534f05ebebc8b72b3e4eabc0c19a9d6cf;p=thirdparty%2Fgcc.git libbacktrace: use WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN Patch from awmorgan. * fileline.c: Use WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN. * pecoff.c: Likewise. --- diff --git a/libbacktrace/fileline.c b/libbacktrace/fileline.c index 68e80c6d2742..50a1e830c23c 100644 --- a/libbacktrace/fileline.c +++ b/libbacktrace/fileline.c @@ -48,8 +48,8 @@ POSSIBILITY OF SUCH DAMAGE. */ #endif #ifdef HAVE_WINDOWS_H -#ifndef WIN32_MEAN_AND_LEAN -#define WIN32_MEAN_AND_LEAN +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN #endif #ifndef NOMINMAX diff --git a/libbacktrace/pecoff.c b/libbacktrace/pecoff.c index 15a73ff0b2aa..b96ec27af421 100644 --- a/libbacktrace/pecoff.c +++ b/libbacktrace/pecoff.c @@ -40,8 +40,8 @@ POSSIBILITY OF SUCH DAMAGE. */ #include "internal.h" #ifdef HAVE_WINDOWS_H -#ifndef WIN32_MEAN_AND_LEAN -#define WIN32_MEAN_AND_LEAN +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN #endif #ifndef NOMINMAX