[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-05-11 18:21:34 +00:00
parent 101f7652df
commit fa433604cf
+1
View File
@@ -9,6 +9,7 @@
#include <stdarg.h>
#define WIN32_NO_STATUS
#define WIN32_LEAN_AND_MEAN
#define _INC_WINDOWS
#include <windef.h>