summaryrefslogtreecommitdiff
path: root/tests/gpc.exp
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-09-09 02:05:32 +0000
committerBruno Haible <bruno@clisp.org>2007-09-09 02:05:32 +0000
commitfc599936bd0c63b02544482453756917eb91ef8f (patch)
tree45675507ed53f43b8256c07c6df6d1b7eac364c0 /tests/gpc.exp
parent597eaaa4ab1ca547355707ba451780d16999e2ad (diff)
downloadgperf-fc599936bd0c63b02544482453756917eb91ef8f.tar.gz
Change generated code to avoid a warning by GCC 4.2.
Diffstat (limited to 'tests/gpc.exp')
-rw-r--r--tests/gpc.exp2
1 files changed, 1 insertions, 1 deletions
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