On Fri, 29 Aug 2025, Kirill Makurin wrote:
I once tried to compare output of `cpp -include windows.h` with and
without WIN32_LEAN_AND_MEAN .
If I remember correctly, output without `-DWIN32_LEAN_AND_MEAN`
contained about 100K lines of code, while output with
`-DWIN32_LEAN_AND_MEAN` contained about 67K lines of code.
This is quite close to current numbers; I just checked, and for x86_64
(with clang), I got 91k lines normally and 55k with -DWIN32_LEAN_AND_MEAN.
With MSVC, the difference is much bigger though. Normally, it brings in
317k lines, and with -DWIN32_LEAN_AND_MEAN, it's down to 169k lines.
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public