From fbf8c940e529934df53fb70d3f7b5f224cd77597 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 18 Feb 2023 13:48:27 -0500 Subject: [PATCH] * src/makeint.h (WIN32_LEAN_AND_MEAN) [Windows]: Don't redefine. Suggested for tcc builds by Christian Jullien . --- src/makeint.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/makeint.h b/src/makeint.h index 1e1596d2..085a4ea8 100644 --- a/src/makeint.h +++ b/src/makeint.h @@ -393,7 +393,9 @@ extern int unixy_shell; # endif /* Include only the minimal stuff from windows.h. */ -# define WIN32_LEAN_AND_MEAN +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# endif #endif /* WINDOWS32 */ /* ALL_SET() evaluates the second argument twice. */