Overlay for the gsview and some other plotting/scientific soft
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.
 
 

16 lines
646 B

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