* glibcompat.c: Add g_strlcat() declaration for glib 1.2.x

This commit is contained in:
Andrew V. Samoilov 2005-02-11 23:38:26 +00:00
parent 7bcc312f97
commit 663792b91a
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2004-02-12 Andrew V. Samoilov <sav@bcs.zp.ua>
* glibcompat.c: Add g_strlcat() declaration for glib 1.2.x
2005-02-11 Roland Illig <roland.illig@gmx.de>
* screen.c (string_file_name): Fixed the displaying of long file

View File

@ -20,6 +20,7 @@
#if GLIB_MAJOR_VERSION < 2
gsize g_strlcat (gchar *dest, const gchar *src, gsize dest_size);
gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size);
#define g_try_malloc(size) malloc(size)
#define g_try_realloc(ptr,size) realloc(ptr,size)