From fa433604cf6eef92de41e7ee53d035110fbef11b Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 29 Apr 2026 17:10:24 +0300 Subject: [PATCH] [COMSUPP] Define WIN32_LEAN_AND_MEAN This is needed to prevent compile errors, when _INC_WINDOWS is defined. So far WIN32_LEAN_AND_MEAN is wrongly defined by some idl generated headers. In VS with native headers similar issues exist. --- sdk/lib/comsupp/comsupp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/lib/comsupp/comsupp.cpp b/sdk/lib/comsupp/comsupp.cpp index a3e096496d9..d84c688f568 100644 --- a/sdk/lib/comsupp/comsupp.cpp +++ b/sdk/lib/comsupp/comsupp.cpp @@ -9,6 +9,7 @@ #include #define WIN32_NO_STATUS +#define WIN32_LEAN_AND_MEAN #define _INC_WINDOWS #include