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.
This commit is contained in:
Ian Lance Taylor
2024-11-29 13:18:26 -08:00
parent ed712cfe2e
commit f8f5732534
2 changed files with 4 additions and 4 deletions

View 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

View 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