Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Undef libc functions before defining them, since they may also be mac…
Browse files Browse the repository at this point in the history
…ros.

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)
  • Loading branch information
Matthias Clasen authored and Matthias Clasen committed Oct 24, 2004
1 parent 6811b26 commit fb8e4a9
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
@@ -1,5 +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)

* glib/gkeyfile.h:
* glib/gkeyfile.c: Add a parser for desktop entries and
similar files with a .ini-like syntax. (#139974, Ray Strode)
Expand Down
3 changes: 3 additions & 0 deletions ChangeLog.pre-2-10
@@ -1,5 +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)

* glib/gkeyfile.h:
* glib/gkeyfile.c: Add a parser for desktop entries and
similar files with a .ini-like syntax. (#139974, Ray Strode)
Expand Down
3 changes: 3 additions & 0 deletions ChangeLog.pre-2-12
@@ -1,5 +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)

* glib/gkeyfile.h:
* glib/gkeyfile.c: Add a parser for desktop entries and
similar files with a .ini-like syntax. (#139974, Ray Strode)
Expand Down
3 changes: 3 additions & 0 deletions ChangeLog.pre-2-6
@@ -1,5 +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)

* glib/gkeyfile.h:
* glib/gkeyfile.c: Add a parser for desktop entries and
similar files with a .ini-like syntax. (#139974, Ray Strode)
Expand Down
3 changes: 3 additions & 0 deletions ChangeLog.pre-2-8
@@ -1,5 +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)

* glib/gkeyfile.h:
* glib/gkeyfile.c: Add a parser for desktop entries and
similar files with a .ini-like syntax. (#139974, Ray Strode)
Expand Down
3 changes: 3 additions & 0 deletions glib/gnulib/g-gnulib.h
Expand Up @@ -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
Expand Down

0 comments on commit fb8e4a9

Please sign in to comment.