mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
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
1 changed files with 10 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue