Skip to content

Commit

Permalink
libbacktrace: use WIN32_LEAN_AND_MEAN, not WIN32_MEAN_AND_LEAN
Browse files Browse the repository at this point in the history
Patch from awmorgan.

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

Fixes #144
  • Loading branch information
ianlancetaylor committed Nov 29, 2024
1 parent d48f840 commit 1db8564
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fileline.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pecoff.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1db8564

Please sign in to comment.