[PATCH 2/5] d3d8.h: undefine INTERFACE before defining it

Alexandre Julliard julliard at winehq.org
Wed Sep 8 07:22:09 CDT 2010


Roderick Colenbrander <thunderbird2k at gmail.com> writes:

> @@ -129,6 +129,7 @@ typedef struct IDirect3DVolumeTexture8 *LPDIRECT3DVOLUMETEXTURE8, *PDIRECT3DVOLU
>  /*****************************************************************************
>   * IDirect3D8 interface
>   */
> +#undef INTERFACE
>  #define INTERFACE IDirect3D8
>  DECLARE_INTERFACE_(IDirect3D8,IUnknown)
>  {

The standard pattern is that it's undefined right after being
used. Places that don't do that should be fixed.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list