27 Sep
2022
27 Sep
'22
6:06 p.m.
On 9/27/22 05:28, Henri Verbeet (@hverbeet) wrote:
```diff +# if defined(__MINGW32__) +# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(__MINGW_PRINTF_FORMAT, fmt, args))) +# else +# define VKD3D_PRINTF_FUNC(fmt, args) __attribute__((format(printf, fmt, args))) +# endif ```
Should we just check whether \_\_MINGW_PRINTF_FORMAT is defined instead of \_\_MINGW32\_\_?
I don't think it makes a difference, but sure, that works too.