blob: 0881f25c7775c483d41cd4f46f533f0112d532a6 [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301Upstream Status: pending
2
3Don't use inline with gcc 5.0
4
5fixes:
6undefined reference to `libuna_unicode_character_size_to_utf8'
7
8Signed-off-by: Armin Kuster <akuster808@gmail.com>
9
10Index: 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