mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 09:28:54 +02: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:
committed by
Matthias Clasen
parent
0914ea84e3
commit
b73f494fab
@@ -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)
|
||||
|
Reference in New Issue
Block a user