Always assume that we use a gnu/c99 printf implementation98a0ab929d8c59ee27e5f470f11d077bb6a56749
commit98a0ab929d8c59ee27e5f470f11d077bb6a56749
authorChristoph Reiter <reiter.christoph@gmail.com>
Sat, 5 May 2018 16:33:47 +0000 (5 18:33 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Mon, 7 May 2018 17:50:25 +0000 (7 19:50 +0200)
tree37d94dc77808e56b4e7bd2b6b4fd616865473bad
parentb437a13a703549463bd85a1fff17fc448ce70b33
Always assume that we use a gnu/c99 printf implementation

On Windows we use gnulib and elsewhere we use glibc or similar.

Also change G_GNUC_PRINTF to use gnu_printf instead of __format__ if
possible because __format__ evaluates to ms_printf under MinGW,
but we use gnulib there and not the system printf.
gnu_printf is only available with GCC>=4.4 and not with clang.

https://bugzilla.gnome.org/show_bug.cgi?id=795569
glib/gmacros.h
meson.build