Commit f3a2e214 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Add a version of G_INLINE_FUNC for __GNUC__ && __GNUC_STDC_INLINE__, patch

2008-03-03  Matthias Clasen  <mclasen@redhat.com>

        * glib/gutils.h: Add a version of G_INLINE_FUNC for
        __GNUC__ && __GNUC_STDC_INLINE__, patch by Jakub Jelinek


svn path=/trunk/; revision=6616
parent e826c671
2008-03-03 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.h: Add a version of G_INLINE_FUNC for
__GNUC__ && __GNUC_STDC_INLINE__, patch by Jakub Jelinek
2008-03-03 Tor Lillqvist <tml@novell.com>
* glib/gspawn-win32.c (read_helper_report): Must set the GError
......
......@@ -97,7 +97,11 @@ G_BEGIN_DECLS
# define G_INLINE_FUNC
# undef G_CAN_INLINE
#elif defined (__GNUC__)
# define G_INLINE_FUNC static __inline __attribute__ ((unused))
# ifdef __GNUC_STDC_INLINE__
# define G_INLINE_FUNC extern inline __attribute__ ((__gnu_inline__))
# else
# define G_INLINE_FUNC extern inline
# endif
#elif defined (G_CAN_INLINE)
# define G_INLINE_FUNC static inline
#else /* can't inline */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment