mesa: #define fprintf to be __mingw_fprintf() on Mingw32
So that formats such as "%llx" are understood. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
fe68af6e0d
commit
cbffaf20e9
|
@ -646,6 +646,16 @@ _mesa_vsnprintf(char *str, size_t size, const char *fmt, va_list arg);
|
|||
#endif
|
||||
|
||||
|
||||
/**
|
||||
* On Mingw32 we need to use __mingw_fprintf() to parse formats such
|
||||
* as "0x%llx", and possibly others
|
||||
*/
|
||||
#ifdef __MINGW32__
|
||||
#define fprintf __mingw_fprintf
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue