include: Only include winuser.h in oleidl.idl as a replacement for windows.h when compiling the Wine source.
Alexandre Julliard
julliard at winehq.org
Thu Dec 29 02:36:57 CST 2011
Francois Gouget <fgouget at 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.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list