From f86426fc8a4a6793004a8313415499b6380c0018 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 22 Mar 2023 11:23:49 +0200 Subject: winconfig: Avoid redefinition of WIN32_LEAN_AND_MEAN If it is already defined externally, do not define it again. --- expat/lib/winconfig.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/expat/lib/winconfig.h b/expat/lib/winconfig.h index 2ecd61b5..62caa47b 100644 --- a/expat/lib/winconfig.h +++ b/expat/lib/winconfig.h @@ -35,7 +35,9 @@ #ifndef WINCONFIG_H #define WINCONFIG_H +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #include #undef WIN32_LEAN_AND_MEAN -- cgit v1.2.1