Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is defined. This was the pre-2.6
authorMatthias Clasen <mclasen@redhat.com>
Mon, 4 Apr 2005 03:45:13 +0000 (03:45 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 4 Apr 2005 03:45:13 +0000 (03:45 +0000)
2005-04-03  Matthias Clasen  <mclasen@redhat.com>

* glib/gutils.h: Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is
defined. This was the pre-2.6 behaviour, and without it,
G_IMPLEMENT_INLINES cannot be used in multiple .c files
at all.  (#165852, Dave Benson)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-8
glib/gutils.h

index 6c5cb25..b6bf49e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-04-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gutils.h: Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is 
+       defined. This was the pre-2.6 behaviour, and without it,
+       G_IMPLEMENT_INLINES cannot be used in multiple .c files
+       at all.  (#165852, Dave Benson)
+
 2005-04-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gmain.c (g_child_watch_source_new): Add a note regarding
index 6c5cb25..b6bf49e 100644 (file)
@@ -1,3 +1,10 @@
+2005-04-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gutils.h: Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is 
+       defined. This was the pre-2.6 behaviour, and without it,
+       G_IMPLEMENT_INLINES cannot be used in multiple .c files
+       at all.  (#165852, Dave Benson)
+
 2005-04-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gmain.c (g_child_watch_source_new): Add a note regarding
index 6c5cb25..b6bf49e 100644 (file)
@@ -1,3 +1,10 @@
+2005-04-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gutils.h: Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is 
+       defined. This was the pre-2.6 behaviour, and without it,
+       G_IMPLEMENT_INLINES cannot be used in multiple .c files
+       at all.  (#165852, Dave Benson)
+
 2005-04-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gmain.c (g_child_watch_source_new): Add a note regarding
index 6c5cb25..b6bf49e 100644 (file)
@@ -1,3 +1,10 @@
+2005-04-03  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gutils.h: Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is 
+       defined. This was the pre-2.6 behaviour, and without it,
+       G_IMPLEMENT_INLINES cannot be used in multiple .c files
+       at all.  (#165852, Dave Benson)
+
 2005-04-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gmain.c (g_child_watch_source_new): Add a note regarding
index f2e483b..5ba1ad8 100644 (file)
@@ -94,6 +94,7 @@ G_BEGIN_DECLS
 #endif
 #ifdef G_IMPLEMENT_INLINES
 #  define G_INLINE_FUNC
+#  undef  G_CAN_INLINE
 #elif defined (__GNUC__) 
 #  define G_INLINE_FUNC extern inline
 #elif defined (G_CAN_INLINE)