include: Remove 'l' modifier from numeric constants in d3d9caps.h
Michael Stefaniuc
mstefani at redhat.com
Wed Oct 26 05:17:22 CDT 2011
Hello Jacek!
Jacek Caban wrote:
> On 10/26/11 00:30, Michael Stefaniuc wrote:
>> ---
>> include/d3d9caps.h | 182
>> ++++++++++++++++++++++++++--------------------------
>> 1 files changed, 91 insertions(+), 91 deletions(-)
>>
>> diff --git a/include/d3d9caps.h b/include/d3d9caps.h
>> index 8ed6598..64dba21 100644
>> --- a/include/d3d9caps.h
>> +++ b/include/d3d9caps.h
>> @@ -29,13 +29,13 @@
>> #define D3DCURSORCAPS_LOWRES 2
>>
>>
>> -#define D3DDEVCAPS2_STREAMOFFSET 0x00000001L
>> -#define D3DDEVCAPS2_DMAPNPATCH 0x00000002L
>> -#define D3DDEVCAPS2_ADAPTIVETESSRTPATCH 0x00000004L
>> -#define D3DDEVCAPS2_ADAPTIVETESSNPATCH 0x00000008L
>> -#define D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES 0x00000010L
>> -#define D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH 0x00000020L
>> -#define D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET 0x00000040L
>> +#define D3DDEVCAPS2_STREAMOFFSET 0x00000001
>> +#define D3DDEVCAPS2_DMAPNPATCH 0x00000002
>> +#define D3DDEVCAPS2_ADAPTIVETESSRTPATCH 0x00000004
>> +#define D3DDEVCAPS2_ADAPTIVETESSNPATCH 0x00000008
>> +#define D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES 0x00000010
>> +#define D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH 0x00000020
>> +#define D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET 0x00000040
>>
>
> mingw-w64 project imports some of our headers, including most of d3d
> headers. They would probably prefer to keep them with 'l' modifier since
> that's the right thing to do. Given that it's mostly harmless for Wine,
> could we please consider not changing it?
Well ... the the dinput.h was a real change were Wine was affected.
But the change should be mostly harmless for mingw-w64 as long == int on
Win32 and Win64.
Anyway this is a hit job from Alexandre so you'll have to convince him.
bye
michael
More information about the wine-devel
mailing list