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.
17 lines
646 B
17 lines
646 B
8 years ago
|
diff -urNd glib_old-1.2.10/glib.h glib_old-1.2.10-michael/glib.h
|
||
|
--- glib_old-1.2.10/glib.h 2001-02-27 13:44:38.000000000 +1000
|
||
|
+++ glib_old-1.2.10-michael/glib.h 2011-03-12 00:56:12.825106280 +1000
|
||
|
@@ -204,7 +204,11 @@
|
||
|
#ifndef G_INLINE_FUNC
|
||
|
# ifdef __GNUC__
|
||
|
# ifdef __OPTIMIZE__
|
||
|
-# define G_INLINE_FUNC extern inline
|
||
|
+# if __GNUC_PREREQ (4,2) && defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
|
||
|
+# define G_INLINE_FUNC extern inline __attribute__ ((__gnu_inline__))
|
||
|
+# else
|
||
|
+# define G_INLINE_FUNC extern inline
|
||
|
+# endif
|
||
|
# else
|
||
|
# undef G_CAN_INLINE
|
||
|
# define G_INLINE_FUNC extern
|