summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-02-18 13:48:27 -0500
committerPaul Smith <psmith@gnu.org>2023-02-19 01:02:16 -0500
commitfbf8c940e529934df53fb70d3f7b5f224cd77597 (patch)
tree86e43e494218cf3a45d58ab4413eea4b6343d1e3
parent62194015fa250e62b5534783cdcc2337c3ce6834 (diff)
downloadmake-git-fbf8c940e529934df53fb70d3f7b5f224cd77597.tar.gz
* src/makeint.h (WIN32_LEAN_AND_MEAN) [Windows]: Don't redefine.
Suggested for tcc builds by Christian Jullien <eligis@orange.fr>.
-rw-r--r--src/makeint.h4
1 files changed, 3 insertions, 1 deletions
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. */