Richard Marian Thomaiyar | 14fddef | 2018-07-13 23:55:56 +0530 | [diff] [blame] | 1 | Upstream Status: pending |
| 2 | |
| 3 | Don't use inline with gcc 5.0 |
| 4 | |
| 5 | fixes: |
| 6 | undefined reference to `libuna_unicode_character_size_to_utf8' |
| 7 | |
| 8 | Signed-off-by: Armin Kuster <akuster808@gmail.com> |
| 9 | |
| 10 | Index: libuna/libuna_inline.h |
| 11 | =================================================================== |
| 12 | --- a/libuna/libuna_inline.h |
| 13 | +++ b/libuna/libuna_inline.h |
| 14 | @@ -27,7 +27,7 @@ |
| 15 | #if defined( _MSC_VER ) |
| 16 | #define LIBUNA_INLINE _inline |
| 17 | |
| 18 | -#elif defined( __BORLANDC__ ) || defined( __clang__ ) |
| 19 | +#elif defined( __BORLANDC__ ) || defined( __clang__ ) || ( __GNUC__ > 4 ) |
| 20 | #define LIBUNA_INLINE /* inline */ |
| 21 | |
| 22 | #else |