diff options
Diffstat (limited to 'fastboot/fastboot.h')
-rw-r--r-- | fastboot/fastboot.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/fastboot/fastboot.h b/fastboot/fastboot.h index 2935eb57c7..dc822e8bff 100644 --- a/fastboot/fastboot.h +++ b/fastboot/fastboot.h @@ -78,17 +78,8 @@ char* xstrdup(const char*); void set_verbose(); // These printf-like functions are implemented in terms of vsnprintf, so they -// use the same attribute for compile-time format string checking. On Windows, -// if the mingw version of vsnprintf is used, use `gnu_printf' which allows z -// in %zd and PRIu64 (and related) to be recognized by the compile-time -// checking. +// use the same attribute for compile-time format string checking. #define FASTBOOT_FORMAT_ARCHETYPE __printf__ -#ifdef __USE_MINGW_ANSI_STDIO -#if __USE_MINGW_ANSI_STDIO -#undef FASTBOOT_FORMAT_ARCHETYPE -#define FASTBOOT_FORMAT_ARCHETYPE gnu_printf -#endif -#endif void die(const char* fmt, ...) __attribute__((__noreturn__)) __attribute__((__format__(FASTBOOT_FORMAT_ARCHETYPE, 1, 2))); void verbose(const char* fmt, ...) __attribute__((__format__(FASTBOOT_FORMAT_ARCHETYPE, 1, 2))); |