diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-31 22:40:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-31 22:42:19 +0900 |
commit | a4f7c4bd67f3cd8bf2e4dc2c88973bcdcd38ab6f (patch) | |
tree | fe8821aab208c5e736ea8117be41e7103814cb0b | |
parent | 3e59adb604baa76b1f78a6ff92d528dd5cdfe04d (diff) | |
download | tdelibs-a4f7c4bd67f3cd8bf2e4dc2c88973bcdcd38ab6f.tar.gz tdelibs-a4f7c4bd67f3cd8bf2e4dc2c88973bcdcd38ab6f.zip |
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>
(cherry picked from commit 6629107ba8a632873a06d2bb77b0829346645ea7)
-rw-r--r-- | tdehtml/misc/htmlattrs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tdehtml/misc/htmlattrs.c b/tdehtml/misc/htmlattrs.c index 779792e71..5ceaf351d 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 * |