summaryrefslogtreecommitdiff
path: root/tests/java.exp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java.exp')
-rw-r--r--tests/java.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/java.exp b/tests/java.exp
index 8ba6cc1..4eb41cb 100644
--- a/tests/java.exp
+++ b/tests/java.exp
@@ -121,7 +121,7 @@ hash (str, len)
#ifdef __GNUC__
__inline
-#ifdef __GNUC_STDC_INLINE__
+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
__attribute__ ((__gnu_inline__))
#endif
#endif