mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
Undef G_CAN_INLINE if G_IMPLEMENT_INLINES is defined. This was the pre-2.6
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)
This commit is contained in:
parent
0914ea84e3
commit
b73f494fab
@ -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>
|
2005-04-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c (g_child_watch_source_new): Add a note regarding
|
* glib/gmain.c (g_child_watch_source_new): Add a note regarding
|
||||||
|
@ -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>
|
2005-04-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c (g_child_watch_source_new): Add a note regarding
|
* glib/gmain.c (g_child_watch_source_new): Add a note regarding
|
||||||
|
@ -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>
|
2005-04-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c (g_child_watch_source_new): Add a note regarding
|
* glib/gmain.c (g_child_watch_source_new): Add a note regarding
|
||||||
|
@ -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>
|
2005-04-01 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gmain.c (g_child_watch_source_new): Add a note regarding
|
* glib/gmain.c (g_child_watch_source_new): Add a note regarding
|
||||||
|
@ -94,6 +94,7 @@ G_BEGIN_DECLS
|
|||||||
#endif
|
#endif
|
||||||
#ifdef G_IMPLEMENT_INLINES
|
#ifdef G_IMPLEMENT_INLINES
|
||||||
# define G_INLINE_FUNC
|
# define G_INLINE_FUNC
|
||||||
|
# undef G_CAN_INLINE
|
||||||
#elif defined (__GNUC__)
|
#elif defined (__GNUC__)
|
||||||
# define G_INLINE_FUNC extern inline
|
# define G_INLINE_FUNC extern inline
|
||||||
#elif defined (G_CAN_INLINE)
|
#elif defined (G_CAN_INLINE)
|
||||||
|
Loading…
Reference in New Issue
Block a user