diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2019-08-10 16:45:31 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2019-08-20 17:19:26 +0200 |
commit | 26f7104d792baa279712cf27ce3acfd30a1d74ca (patch) | |
tree | 261ebd788a521c4f2c9e8852cb9aa84a5df35237 /glib/gprintf.c | |
parent | 271e283881b96a3c866ae5bb992cbb15708c80da (diff) | |
download | glib-26f7104d792baa279712cf27ce3acfd30a1d74ca.tar.gz |
meson: small cleanup for printf checks
Instead of duplicating checks add a use_system_printf meson variable and
macro and use them everywhere.
Diffstat (limited to 'glib/gprintf.c')
-rw-r--r-- | glib/gprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gprintf.c b/glib/gprintf.c index 9293c83e6..fc0a02a3b 100644 --- a/glib/gprintf.c +++ b/glib/gprintf.c @@ -319,7 +319,7 @@ g_vasprintf (gchar **string, gint len; g_return_val_if_fail (string != NULL, -1); -#if !defined(HAVE_GOOD_PRINTF) +#if !defined(USE_SYSTEM_PRINTF) len = _g_gnulib_vasprintf (string, format, args); if (len < 0) |