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:
Matthias Clasen
2004-10-24 01:16:24 +00:00
committed by Matthias Clasen
parent 0b46f65db8
commit aa604ef0ae
6 changed files with 28 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
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)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.

View File

@@ -1,3 +1,8 @@
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)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.

View File

@@ -1,3 +1,8 @@
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)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.

View File

@@ -1,3 +1,8 @@
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)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.

View File

@@ -1,3 +1,8 @@
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)
2004-10-08 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version.

View File

@@ -29,6 +29,9 @@
#define printf_fetchargs _g_gnulib_printf_fetchargs
/* Use GLib memory allocation */
#undef malloc
#undef realloc
#undef free
#define malloc g_malloc
#define realloc g_realloc
#define free g_free