27 Sep
2022
27 Sep
'22
10:28 a.m.
```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\_\_? -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/18#note_9366