blob: 9e16b80fe89aff2328a01bc35776a61682ffcc51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- glib.h
+++ glib.h
@@ -204,7 +204,7 @@ extern "C" {
#ifndef G_INLINE_FUNC
# ifdef __GNUC__
# ifdef __OPTIMIZE__
-# define G_INLINE_FUNC extern inline
+# define G_INLINE_FUNC extern inline __attribute__ ((__gnu_inline__))
# else
# undef G_CAN_INLINE
# define G_INLINE_FUNC extern
|