mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
Undef libc functions before defining them, since they may also be macros.
2004-10-23 Matthias Clasen <mclasen@redhat.com> * glib/gnulib/g-gnulib.h: Undef libc functions before defining them, since they may also be macros. (#155177, Andrea Campi)
This commit is contained in:
parent
6811b264e4
commit
fb8e4a91e3
@ -1,5 +1,8 @@
|
|||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||||
|
them, since they may also be macros. (#155177, Andrea Campi)
|
||||||
|
|
||||||
* glib/gkeyfile.h:
|
* glib/gkeyfile.h:
|
||||||
* glib/gkeyfile.c: Add a parser for desktop entries and
|
* glib/gkeyfile.c: Add a parser for desktop entries and
|
||||||
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||||
|
them, since they may also be macros. (#155177, Andrea Campi)
|
||||||
|
|
||||||
* glib/gkeyfile.h:
|
* glib/gkeyfile.h:
|
||||||
* glib/gkeyfile.c: Add a parser for desktop entries and
|
* glib/gkeyfile.c: Add a parser for desktop entries and
|
||||||
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||||
|
them, since they may also be macros. (#155177, Andrea Campi)
|
||||||
|
|
||||||
* glib/gkeyfile.h:
|
* glib/gkeyfile.h:
|
||||||
* glib/gkeyfile.c: Add a parser for desktop entries and
|
* glib/gkeyfile.c: Add a parser for desktop entries and
|
||||||
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||||
|
them, since they may also be macros. (#155177, Andrea Campi)
|
||||||
|
|
||||||
* glib/gkeyfile.h:
|
* glib/gkeyfile.h:
|
||||||
* glib/gkeyfile.c: Add a parser for desktop entries and
|
* glib/gkeyfile.c: Add a parser for desktop entries and
|
||||||
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
2004-10-23 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/gnulib/g-gnulib.h: Undef libc functions before defining
|
||||||
|
them, since they may also be macros. (#155177, Andrea Campi)
|
||||||
|
|
||||||
* glib/gkeyfile.h:
|
* glib/gkeyfile.h:
|
||||||
* glib/gkeyfile.c: Add a parser for desktop entries and
|
* glib/gkeyfile.c: Add a parser for desktop entries and
|
||||||
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
similar files with a .ini-like syntax. (#139974, Ray Strode)
|
||||||
|
@ -29,6 +29,9 @@
|
|||||||
#define printf_fetchargs _g_gnulib_printf_fetchargs
|
#define printf_fetchargs _g_gnulib_printf_fetchargs
|
||||||
|
|
||||||
/* Use GLib memory allocation */
|
/* Use GLib memory allocation */
|
||||||
|
#undef malloc
|
||||||
|
#undef realloc
|
||||||
|
#undef free
|
||||||
#define malloc g_malloc
|
#define malloc g_malloc
|
||||||
#define realloc g_realloc
|
#define realloc g_realloc
|
||||||
#define free g_free
|
#define free g_free
|
||||||
|
Loading…
Reference in New Issue
Block a user