[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.
This commit is contained in:
Timo Kreuzer
2026-04-29 17:10:24 +03:00
parent 101f7652df
commit fa433604cf

View File

@@ -9,6 +9,7 @@
#include <stdarg.h>
#define WIN32_NO_STATUS
#define WIN32_LEAN_AND_MEAN
#define _INC_WINDOWS
#include <windef.h>