[Mesa-dev] [PATCH] mesa: fix Mingw32 printf() warning about %llx format

Kenneth Graunke kenneth at whitecape.org
Fri Jun 22 10:13:14 PDT 2012


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.




More information about the mesa-dev mailing list