summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-10-31 13:40:10 (GMT)
committer Michele Calgaro <michele.calgaro@yahoo.it>2018-10-31 13:40:10 (GMT)
commit6629107ba8a632873a06d2bb77b0829346645ea7 (patch)
tree82b0e0a891584f2c1136145165b390a084ee6df7
parentad3d32f4249416c5fc4cd25028082aef507aae55 (diff)
downloadtdelibs-6629107b.zip
tdelibs-6629107b.tar.gz
Fixed potential FTBFS in htmlattrs.c. This relates to bug 2850.
The FTBFS seems to happen only for some users, so this fix should help in such cases. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--tdehtml/misc/htmlattrs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tdehtml/misc/htmlattrs.c b/tdehtml/misc/htmlattrs.c
index 779792e..5ceaf35 100644
--- a/tdehtml/misc/htmlattrs.c
+++ b/tdehtml/misc/htmlattrs.c
@@ -825,8 +825,9 @@ static const short lookup[] =
#ifdef __GNUC__
__inline
-#ifdef __GNUC_STDC_INLINE__
-__attribute__ ((__gnu_inline__))
+#else
+#ifdef __cplusplus
+inline
#endif
#endif
const struct attrs *