guile/guile-gnuc_inline.patch

48 lines
1.0 KiB
Diff

--- libguile/inline.h
+++ libguile/inline.h
@@ -58,7 +58,7 @@
#if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H
/* definitely inlining */
#ifdef __GNUC__
-extern
+extern __attribute__((gnu_inline))
#else
static
#endif
@@ -134,7 +134,7 @@
#if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H
/* definitely inlining */
#ifdef __GNUC__
-extern
+extern __attribute__((gnu_inline))
#else
static
#endif
@@ -209,7 +209,7 @@
#if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H
/* definitely inlining */
#ifdef __GNUC__
-extern
+extern __attribute__((gnu_inline))
#else
static
#endif
@@ -224,7 +224,7 @@
#if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H
/* definitely inlining */
#ifdef __GNUC__
-extern
+extern __attribute__((gnu_inline))
#else
static
#endif
@@ -239,7 +239,7 @@
#if defined SCM_C_INLINE && ! defined SCM_INLINE_C_INCLUDING_INLINE_H
/* definitely inlining */
#ifdef __GNUC__
-extern
+extern __attribute__((gnu_inline))
#else
static
#endif