]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libbacktrace: use WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN
authorIan Lance Taylor <iant@golang.org>
Fri, 29 Nov 2024 21:18:26 +0000 (13:18 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 29 Nov 2024 21:18:26 +0000 (13:18 -0800)
Patch from awmorgan.

* fileline.c: Use WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN.
* pecoff.c: Likewise.

libbacktrace/fileline.c
libbacktrace/pecoff.c

index 68e80c6d2742e58c359bc0f006c311ed477e57f6..50a1e830c23c24895dab58a4e576c4f0d747aa31 100644 (file)
@@ -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
index 15a73ff0b2aa4e850cad2b67f1324e7732dbc31f..b96ec27af421c96ee261cc2960f6f99c96544d62 100644 (file)
@@ -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