14# if ((__GNUC__ == 4 && __GNUC_MINOR__>= 4) || __GNUC__ > 4)
15# define ATTR_PRINTF(one_based_format_index, first_arg) \
16__attribute__((format(gnu_printf, (one_based_format_index), (first_arg))))
18# define ATTR_PRINTF(one_based_format_index, first_arg) \
19__attribute__((format(printf, (one_based_format_index), (first_arg))))
21# define ATTR_VPRINTF(one_based_format_index) ATTR_PRINTF((one_based_format_index), 0)
23# define ATTR_PRINTF(one_based_format_index, first_arg)
24# define ATTR_VPRINTF(one_based_format_index)
#define ATTR_VPRINTF(one_based_format_index)
int mp_vsnprintf(char *s, size_t count, const char *format, va_list arg)
int mp_snprintf(char *s, size_t count, const char *format,...)
#define ATTR_PRINTF(one_based_format_index, first_arg)