[Mesa-dev] [PATCH] mesa: fix Mingw32 printf() warning about %llx format
Brian Paul
brianp at vmware.com
Fri Jun 22 12:00:17 PDT 2012
On 06/22/2012 11:13 AM, Kenneth Graunke wrote:
> On 06/22/2012 10:07 AM, Jose Fonseca wrote:
>> Looks good.
>>
>> Alternatively we could
>>
>> #ifdef __MINGW32__
>> #define fprintf __mingw_fprintf()
>> #endif
>>
>> in an header like imports.hpp so it can be used everywhere in mesa.
>>
>> Jose
>
> I generally prefer that approach. Keeps all the platform-specific
> quirks in one place and makes it so you can just use the normal names.
OK, I was just being conservative about changing fprintf() everywhere.
-Brian
More information about the mesa-dev
mailing list