You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
glib/SOURCES/glib-1.2.10-gcc5.patch

12 lines
315 B

--- 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