define RPC_NO_WINDOWS_H to prevent rpc.h from including windows.h

Mike McCormack mike at codeweavers.com
Wed Sep 8 01:05:43 CDT 2004


Alexandre Julliard wrote:

> Well, it causes us to have to add -DRPC_NO_WINDOWS_H all over the
> place, which is exactly what the __WINESRC__ ifdef was supposed to
> avoid. Is there a reason to remove it? (other than the fact that
> Windows doesn't have it of course).

Well, admittedly the code works as is.  Cross-compiling our code with 
MingW or MSVC may require it, but I guess it requires lots of other 
changes to the Makfiles too.  Feel free to leave it for later.

Mike



More information about the wine-devel mailing list