diff options
| -rw-r--r-- | flash.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| @@ -360,6 +360,9 @@ int flashrom_print_cb(enum flashrom_log_level level, const char *fmt, va_list ap  /* Let gcc and clang check for correct printf-style format strings. */  int print(enum flashrom_log_level level, const char *fmt, ...)  #ifdef __MINGW32__ +#  ifndef __MINGW_PRINTF_FORMAT +#    define __MINGW_PRINTF_FORMAT gnu_printf +#  endif  __attribute__((format(__MINGW_PRINTF_FORMAT, 2, 3)));  #else  __attribute__((format(printf, 2, 3))); | 
