includes: Fix IsEqualPropertyKey definitions

Alexandre Julliard julliard at winehq.org
Mon Feb 22 04:47:58 CST 2010


Maarten Lankhorst <m.b.lankhorst at gmail.com> writes:

> @@ -48,7 +48,11 @@
>  #endif
>  
>  #ifndef IsEqualPropertyKey
> +#ifdef __cplusplus
>  #define IsEqualPropertyKey(a,b) (((a).pid == (b).pid) && IsEqualIID((a).fmtid,(b).fmtid))
> +#else
> +#define IsEqualPropertyKey(a,b) (((a)->pid == (b)->pid) && IsEqualIID(&(a)->fmtid,&(b)->fmtid))
> +#endif

This doesn't match the PSDK. Where does this come from?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list