mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
only include printf_string_upper_bound() if HAVE_C99_VSNPRINTF is not
2001-12-28 Sven Neumann <sven@gimp.org> * glib/gmessages.c: only include printf_string_upper_bound() if HAVE_C99_VSNPRINTF is not defined.
This commit is contained in:
parent
4ebdccaac1
commit
5647fea14e
@ -1,3 +1,8 @@
|
||||
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||
HAVE_C99_VSNPRINTF is not defined.
|
||||
|
||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||
|
||||
* configure.in: Added portuguese to ALL_LINGUAS
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||
HAVE_C99_VSNPRINTF is not defined.
|
||||
|
||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||
|
||||
* configure.in: Added portuguese to ALL_LINGUAS
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||
HAVE_C99_VSNPRINTF is not defined.
|
||||
|
||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||
|
||||
* configure.in: Added portuguese to ALL_LINGUAS
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||
HAVE_C99_VSNPRINTF is not defined.
|
||||
|
||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||
|
||||
* configure.in: Added portuguese to ALL_LINGUAS
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||
HAVE_C99_VSNPRINTF is not defined.
|
||||
|
||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||
|
||||
* configure.in: Added portuguese to ALL_LINGUAS
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||
HAVE_C99_VSNPRINTF is not defined.
|
||||
|
||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||
|
||||
* configure.in: Added portuguese to ALL_LINGUAS
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||
HAVE_C99_VSNPRINTF is not defined.
|
||||
|
||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||
|
||||
* configure.in: Added portuguese to ALL_LINGUAS
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-12-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* glib/gmessages.c: only include printf_string_upper_bound() if
|
||||
HAVE_C99_VSNPRINTF is not defined.
|
||||
|
||||
2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
|
||||
|
||||
* configure.in: Added portuguese to ALL_LINGUAS
|
||||
|
@ -71,9 +71,11 @@ struct _GLogHandler
|
||||
|
||||
|
||||
/* --- prototypes --- */
|
||||
#ifndef HAVE_C99_VSNPRINTF
|
||||
static gsize printf_string_upper_bound (const gchar *format,
|
||||
gboolean may_warn,
|
||||
va_list args);
|
||||
#endif /* !HAVE_C99_VSNPRINTF */
|
||||
|
||||
|
||||
/* --- variables --- */
|
||||
@ -860,6 +862,8 @@ g_printerr (const gchar *format,
|
||||
# define MB_LEN_MAX 8
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_C99_VSNPRINTF
|
||||
|
||||
typedef struct
|
||||
{
|
||||
guint min_width;
|
||||
@ -1168,6 +1172,9 @@ printf_string_upper_bound (const gchar *format,
|
||||
return len;
|
||||
}
|
||||
|
||||
#endif /* !HAVE_C99_VSNPRINTF */
|
||||
|
||||
|
||||
gsize
|
||||
g_printf_string_upper_bound (const gchar *format,
|
||||
va_list args)
|
||||
|
Loading…
Reference in New Issue
Block a user