dsound.h: Undefine INTERFACE before using it.

Alexandre Julliard julliard at winehq.org
Mon Nov 29 09:25:46 CST 2010


Jacek Caban <jacek at codeweavers.com> writes:

> @@ -419,6 +419,7 @@ extern HRESULT WINAPI GetDeviceID(LPCGUID lpGuidSrc, LPGUID lpGuidDest);
>  /*****************************************************************************
>   * IDirectSound interface
>   */
> +#undef INTERFACE
>  #define INTERFACE IDirectSound
>  DECLARE_INTERFACE_(IDirectSound,IUnknown)

The preferred pattern is to undefine it after use. If there are files
that don't do this they should be fixed.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list