Commit 88fddd0b authored by Clément Bœsch's avatar Clément Bœsch

ffprobe: replace specific ## GNU cpp extension with __VA_ARGS__.

parent 8096b7c6
...@@ -172,11 +172,11 @@ static void default_print_footer(const char *section) ...@@ -172,11 +172,11 @@ static void default_print_footer(const char *section)
/* Print helpers */ /* Print helpers */
#define print_fmt0(k, f, a...) w->print_fmt_f(k, f, ##a) #define print_fmt0(k, f, ...) w->print_fmt_f(k, f, __VA_ARGS__)
#define print_fmt( k, f, a...) do { \ #define print_fmt( k, f, ...) do { \
if (w->item_sep) \ if (w->item_sep) \
printf("%s", w->item_sep); \ printf("%s", w->item_sep); \
w->print_fmt_f(k, f, ##a); \ w->print_fmt_f(k, f, __VA_ARGS__); \
} while (0) } while (0)
#define print_int0(k, v) w->print_int_f(k, v) #define print_int0(k, v) w->print_int_f(k, v)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment