[PATCH] several minor dx header fixes

Ozkan Sezer sezeroz at gmail.com
Sun Jul 4 12:56:29 CDT 2010


Hi:

The attached patch extracted from our mingw-w64 tree touches several dx
headers in wine to fix minor compiler warnings, and in one case ie. dmdls.h,
to fix a compiler error in C++.

Regards.


2010-07-04  Ozkan Sezer  <sezero at users.sourceforge.net>

* d3d8types.h (MAKEFOURCC): Add ifdef guards.
* d3d9types.h (MAKEFOURCC): Likewise.
* ddraw.h (MAKEFOURCC): Likewise.
(INTERFACE, IDirectDrawPalette): Undefine INTERFACE before IDirectDrawPalette.
* d3d9.h (INTERFACE, IDirect3D9): Undefine INTERFACE before IDirect3D9.
* dmdls.h (_DMUS_REGION): WLOOP is typedef'ed as struct _rloop in dls1.h. Change
type of WLOOP[1] from WLOOP to struct _rloop for __cplusplus compatibility.

--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dx.diff
Type: application/octet-stream
Size: 3626 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100704/d5c35b8a/attachment-0001.obj>


More information about the wine-patches mailing list