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

Alexandre Julliard julliard at winehq.org
Tue Sep 7 23:29:14 CDT 2004


Mike McCormack <mike at codeweavers.com> writes:

> Alexandre Julliard wrote:
>
>>>* define RPC_NO_WINDOWS_H to prevent rpc.h from including windows.h
>> Why do you need this?
>
> Well, that's the way that the Windows SDK version and the MingW
> version of rpc.h work... does it cause a problem?

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).

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list