[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: dsound.h: Undefine INTERFACE before using it.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2010-11-29 15:25:46
Message-ID: 87hbf0b18l.fsf () wine ! dyndns ! org
[Download RAW message or body]

Jacek Caban <jacek@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@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic