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