document mingw tweak

This commit is contained in:
Philippe Teuwen 2020-06-02 23:12:29 +02:00
parent 843ab094bb
commit 8667b34da6

View file

@ -555,6 +555,7 @@ enum CborPrettyFlags {
CborPrettyDefaultFlags = CborPrettyIndicateIndeterminateLength
};
/* cf https://sourceforge.net/p/mingw-w64/wiki2/gnu%20printf/ */
typedef CborError(*CborStreamFunction)(void *token, const char *fmt, ...)
#if defined(__MINGW32__) || defined(__MINGW64__)
__attribute__((format (__MINGW_PRINTF_FORMAT, 2, 3)));