summaryrefslogtreecommitdiff
path: root/tests/modula2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modula2.exp')
-rw-r--r--tests/modula2.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/modula2.exp b/tests/modula2.exp
index 7133e04..233445e 100644
--- a/tests/modula2.exp
+++ b/tests/modula2.exp
@@ -111,6 +111,9 @@ hash (str, len)
#ifdef __GNUC__
__inline
+#ifdef __GNUC_STDC_INLINE__
+__attribute__ ((__gnu_inline__))
+#endif
#endif
const char *
in_word_set (str, len)