mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* mad.h: Disable glib support - it doesn't work properly.
This commit is contained in:
parent
7493ab67ad
commit
50a2391d2b
@ -1,3 +1,7 @@
|
||||
2001-08-11 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* mad.h: Disable glib support - it doesn't work properly.
|
||||
|
||||
2001-08-07 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* view.c: Warning fixes. Include "cmd.h". Rename help_cmd()
|
||||
|
@ -46,6 +46,13 @@
|
||||
#define strndup(x, n) mad_strndup (x, n, __FILE__, __LINE__)
|
||||
#define free(x) mad_free (x, __FILE__, __LINE__)
|
||||
|
||||
/*
|
||||
* Define MAD_GLIB to debug allocations in glib as well.
|
||||
* This code is not functional yet.
|
||||
*/
|
||||
#undef MAD_GLIB
|
||||
|
||||
#ifdef MAD_GLIB
|
||||
/* These definitions are grabbed from GLib.h */
|
||||
#define g_new(type, count) \
|
||||
((type *) g_malloc ((unsigned) sizeof (type) * (count)))
|
||||
@ -63,6 +70,7 @@
|
||||
#define g_strconcat mad_strconcat
|
||||
#define g_strdup_printf mad_strdup_printf
|
||||
#define g_strdup_vprintf mad_strdup_vprintf
|
||||
#endif /* MAD_GLIB */
|
||||
|
||||
void mad_init (void);
|
||||
void mad_set_debug (const char *file);
|
||||
|
Loading…
Reference in New Issue
Block a user