Undef libc functions before defining them, since they may also be macros.
authorMatthias Clasen <mclasen@redhat.com>
Sun, 24 Oct 2004 01:15:08 +0000 (01:15 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sun, 24 Oct 2004 01:15:08 +0000 (01:15 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gnulib/g-gnulib.h

index 03a04cf..98dab90 100644 (file)
--- a/ChangeLog
+++ b/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)
index 03a04cf..98dab90 100644 (file)
@@ -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)
index 03a04cf..98dab90 100644 (file)
@@ -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)
index 03a04cf..98dab90 100644 (file)
@@ -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)
index 03a04cf..98dab90 100644 (file)
@@ -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)
index c0d904f..ce5dab7 100644 (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