glib/glib-1.2.10-gcc5.patch
2019-11-30 10:14:37 +08:00

12 lines
344 B
Diff

--- glib-1.2.10/glib.h.gcc5
+++ glib-1.2.10/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