diff options
| author | Ian Lance Taylor <iant@golang.org> | 2024-11-29 13:18:26 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2024-11-29 13:18:26 -0800 |
| commit | f8f5732534f05ebebc8b72b3e4eabc0c19a9d6cf (patch) | |
| tree | 80c71799ddcd72a05c961ae8015fd773321483ef /libbacktrace | |
| parent | ed712cfe2e826cd846705defb1f6ae391baecb3d (diff) | |
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.
Diffstat (limited to 'libbacktrace')
| -rw-r--r-- | libbacktrace/fileline.c | 4 | ||||
| -rw-r--r-- | libbacktrace/pecoff.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libbacktrace/fileline.c b/libbacktrace/fileline.c index 68e80c6d274..50a1e830c23 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 15a73ff0b2a..b96ec27af42 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 |
