summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/c-parse.exp2
-rw-r--r--tests/charsets.exp2
-rw-r--r--tests/chill.exp2
-rw-r--r--tests/cplusplus.exp2
-rw-r--r--tests/gpc.exp2
-rw-r--r--tests/incomplete.exp2
-rw-r--r--tests/java.exp2
-rw-r--r--tests/languages.exp2
-rw-r--r--tests/modula2.exp2
-rw-r--r--tests/objc.exp2
-rw-r--r--tests/permut2.exp2
-rw-r--r--tests/permut3.exp2
-rw-r--r--tests/permutc2.exp2
-rw-r--r--tests/test-4.exp2
14 files changed, 14 insertions, 14 deletions
diff --git a/tests/c-parse.exp b/tests/c-parse.exp
index f7c695b..b4ae2a2 100644
--- a/tests/c-parse.exp
+++ b/tests/c-parse.exp
@@ -199,7 +199,7 @@ static struct resword wordlist[] =
#ifdef __GNUC__
__inline
-#ifdef __GNUC_STDC_INLINE__
+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
__attribute__ ((__gnu_inline__))
#endif
#endif
diff --git a/tests/charsets.exp b/tests/charsets.exp
index bfbf056..86a959c 100644
--- a/tests/charsets.exp
+++ b/tests/charsets.exp
@@ -1805,7 +1805,7 @@ static const struct charset wordlist[] =
#ifdef __GNUC__
__inline
-#ifdef __GNUC_STDC_INLINE__
+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
__attribute__ ((__gnu_inline__))
#endif
#endif
diff --git a/tests/chill.exp b/tests/chill.exp
index 243e91b..4c9b3ca 100644
--- a/tests/chill.exp
+++ b/tests/chill.exp
@@ -178,7 +178,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
diff --git a/tests/cplusplus.exp b/tests/cplusplus.exp
index 78e6fb0..daef218 100644
--- a/tests/cplusplus.exp
+++ b/tests/cplusplus.exp
@@ -103,7 +103,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
diff --git a/tests/gpc.exp b/tests/gpc.exp
index 5265492..423c278 100644
--- a/tests/gpc.exp
+++ b/tests/gpc.exp
@@ -94,7 +94,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
diff --git a/tests/incomplete.exp b/tests/incomplete.exp
index d887dc4..04dc088 100644
--- a/tests/incomplete.exp
+++ b/tests/incomplete.exp
@@ -84,7 +84,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
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
diff --git a/tests/languages.exp b/tests/languages.exp
index fa27dc8..aee3ce8 100644
--- a/tests/languages.exp
+++ b/tests/languages.exp
@@ -1462,7 +1462,7 @@ static const struct language wordlist[] =
#ifdef __GNUC__
__inline
-#ifdef __GNUC_STDC_INLINE__
+#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
__attribute__ ((__gnu_inline__))
#endif
#endif
diff --git a/tests/modula2.exp b/tests/modula2.exp
index 27459b0..fe859a1 100644
--- a/tests/modula2.exp
+++ b/tests/modula2.exp
@@ -111,7 +111,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
diff --git a/tests/objc.exp b/tests/objc.exp
index 76a0d82..053f59c 100644
--- a/tests/objc.exp
+++ b/tests/objc.exp
@@ -97,7 +97,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
diff --git a/tests/permut2.exp b/tests/permut2.exp
index ffba7bf..d5d710f 100644
--- a/tests/permut2.exp
+++ b/tests/permut2.exp
@@ -83,7 +83,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
diff --git a/tests/permut3.exp b/tests/permut3.exp
index 9232ce2..94d0b1d 100644
--- a/tests/permut3.exp
+++ b/tests/permut3.exp
@@ -83,7 +83,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
diff --git a/tests/permutc2.exp b/tests/permutc2.exp
index d9c94ce..1fcdbbc 100644
--- a/tests/permutc2.exp
+++ b/tests/permutc2.exp
@@ -130,7 +130,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
diff --git a/tests/test-4.exp b/tests/test-4.exp
index 4a13a6f..34f5f94 100644
--- a/tests/test-4.exp
+++ b/tests/test-4.exp
@@ -85,7 +85,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