Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 156475 | Differences between
and this patch

Collapse All | Expand All

(-)glib2.0-2.13.4.orig/glib/gutils.h (-3 / +8 lines)
Lines 96-104 Link Here
96
#ifdef G_IMPLEMENT_INLINES
96
#ifdef G_IMPLEMENT_INLINES
97
#  define G_INLINE_FUNC
97
#  define G_INLINE_FUNC
98
#  undef  G_CAN_INLINE
98
#  undef  G_CAN_INLINE
99
#elif defined (__GNUC__) 
99
#elif defined (__GNUC__)
100
#  define G_INLINE_FUNC extern inline
100
#  if __GNUC_PREREQ (4,2) && defined (__STDC_VERSION__) \
101
#elif defined (G_CAN_INLINE) 
101
   && __STDC_VERSION__ >= 199901L
102
#    define G_INLINE_FUNC extern __inline __attribute__ ((__gnu_inline__))
103
#  else
104
#    define G_INLINE_FUNC extern __inline
105
#  endif
106
#elif defined (G_CAN_INLINE)
102
#  define G_INLINE_FUNC static inline
107
#  define G_INLINE_FUNC static inline
103
#else /* can't inline */
108
#else /* can't inline */
104
#  define G_INLINE_FUNC
109
#  define G_INLINE_FUNC

Return to bug 156475