On 9/27/22 05:28, Henri Verbeet (@hverbeet) wrote:
+# 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.