* glibcompat.h: Fix definition of g_try_realloc().

This commit is contained in:
Pavel Roskin 2004-01-22 07:19:58 +00:00
parent eb846733f8
commit 429f1a476e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-01-22 Pavel Roskin <proski@gnu.org>
* glibcompat.h: Fix definition of g_try_realloc().
2003-12-24 Dmitry Alexeyev <dmi_a@qnx.org.ru>
* key.c (get_event): Treat all negative values of gpm_fd in the

View File

@ -21,8 +21,8 @@
#if GLIB_MAJOR_VERSION < 2
gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size);
#define g_try_malloc(x) malloc(x)
#define g_try_realloc(x) realloc(x)
#define g_try_malloc(size) malloc(size)
#define g_try_realloc(ptr,size) realloc(ptr,size)
static inline GSList *
g_slist_delete_link (GSList *list, GSList *link)