Browse Source

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>
Michele Calgaro 4 months ago
parent
commit
6629107ba8
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      tdehtml/misc/htmlattrs.c

+ 3
- 2
tdehtml/misc/htmlattrs.c View File

@@ -825,8 +825,9 @@ static const short lookup[] =
825 825
 
826 826
 #ifdef __GNUC__
827 827
 __inline
828
-#ifdef __GNUC_STDC_INLINE__
829
-__attribute__ ((__gnu_inline__))
828
+#else
829
+#ifdef __cplusplus
830
+inline
830 831
 #endif
831 832
 #endif
832 833
 const struct attrs *

Loading…
Cancel
Save