Francois Gouget fgouget@free.fr writes:
Substituting an alternative header for windows.h is an approach that is used in a few other places, specifically in dshow.h, msctf.h, pdh.h, rpc.h, snmp.h and winsock.h. So I think it's ok to follow the pattern here, it should just be a bit clearer.
But if the consensus is that it (and the others?) should be removed I can do that too. The patch will be quite a bit bigger though.
Maybe it's time to reconsider the windows.h prohibition. Our headers are pretty stable now so we don't need full rebuilds very often; and if we define WIN32_LEAN_AND_MEAN, avoiding windows.h probably doesn't gain us all that much anymore.