summaryrefslogtreecommitdiff
path: root/tests/gpc.exp
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-31 15:16:05 +0000
committerBruno Haible <bruno@clisp.org>2007-03-31 15:16:05 +0000
commit0e4abdfd81e11c2bb8793a4f8d7c7636b948bad9 (patch)
tree25544fea711675f97074990103befe7f6b9ab2a8 /tests/gpc.exp
parent89f5335289220036d0bc050d1cffd87be2202614 (diff)
downloadgperf-0e4abdfd81e11c2bb8793a4f8d7c7636b948bad9.tar.gz
Change generated code after the meaning of __inline is changed in GCC 4.3.
Diffstat (limited to 'tests/gpc.exp')
-rw-r--r--tests/gpc.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/gpc.exp b/tests/gpc.exp
index 1b48421..e754a27 100644
--- a/tests/gpc.exp
+++ b/tests/gpc.exp
@@ -94,6 +94,9 @@ hash (str, len)
#ifdef __GNUC__
__inline
+#ifdef __GNUC_STDC_INLINE__
+__attribute__ ((__gnu_inline__))
+#endif
#endif
struct resword *
is_reserved_word (str, len)