mirror of https://github.com/MidnightCommander/mc
* glibcompat.h: Fix definition of g_try_realloc().
This commit is contained in:
parent
eb846733f8
commit
429f1a476e
|
@ -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>
|
2003-12-24 Dmitry Alexeyev <dmi_a@qnx.org.ru>
|
||||||
|
|
||||||
* key.c (get_event): Treat all negative values of gpm_fd in the
|
* key.c (get_event): Treat all negative values of gpm_fd in the
|
||||||
|
|
|
@ -21,8 +21,8 @@
|
||||||
#if GLIB_MAJOR_VERSION < 2
|
#if GLIB_MAJOR_VERSION < 2
|
||||||
|
|
||||||
gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size);
|
gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size);
|
||||||
#define g_try_malloc(x) malloc(x)
|
#define g_try_malloc(size) malloc(size)
|
||||||
#define g_try_realloc(x) realloc(x)
|
#define g_try_realloc(ptr,size) realloc(ptr,size)
|
||||||
|
|
||||||
static inline GSList *
|
static inline GSList *
|
||||||
g_slist_delete_link (GSList *list, GSList *link)
|
g_slist_delete_link (GSList *list, GSList *link)
|
||||||
|
|
Loading…
Reference in New Issue