On Fri, Nov 16, 2018 at 12:36 PM Jacek Caban jacek@codeweavers.com wrote:
We don't really need to worry about Wine itself. Note that in majority cases those includes are useless as rpc.h and rpcndr.h are included in a different ways. Mostly, if COM_NO_WINDOWS_H is not used, it will be included from generated header -> ole2.h -> objbase.h. As a test, I just put those includes inside #if 0 and Wine built fine.
Yes, but I wanted to also guard windows.h and ole2.h. It would be a more complete solution, and it would allow me to remove COM_NO_WINDOWS_H from vkd3d headers.