]> git.ipfire.org Git - thirdparty/make.git/commitdiff
* src/makeint.h (WIN32_LEAN_AND_MEAN) [Windows]: Don't redefine.
authorPaul Smith <psmith@gnu.org>
Sat, 18 Feb 2023 18:48:27 +0000 (13:48 -0500)
committerPaul Smith <psmith@gnu.org>
Sun, 19 Feb 2023 06:02:16 +0000 (01:02 -0500)
Suggested for tcc builds by Christian Jullien <eligis@orange.fr>.

src/makeint.h

index 1e1596d26f94a571fe11ea8133f13f26afb34ab7..085a4ea811cdfd2666461ba9c8716a2486a18537 100644 (file)
@@ -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.  */