在 2022/12/21 17:56, Biswapriyo Nath 写道:
Thanks, defining `WIN32_LEAN_AND_MEAN` fixes the issue in the android-tools project. Though I am not sure if it works for all cases.
I am not sure what others typically do though - probably `WIN32_LEAN_AND_MEAN` should always be defined, so code that does not use COM will not get that unwanted macro; and when COM stuff is needed, COM headers can be included explicitly after <windows.h>.
-- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
