summaryrefslogtreecommitdiff
path: root/app-forensics/libewf/files/libewf-20140406-gcc5-compat.patch
blob: 094ac8eac67e4a09995ae22bc715649f22df30be (plain)
1
2
3
4
5
6
7
8
9
10
11
--- libuna/libuna_inline.h.orig	2016-03-31 11:53:52.655941638 -0700
+++ libuna/libuna_inline.h	2016-03-31 11:55:10.404944126 -0700
@@ -27,7 +27,7 @@
 #if defined( _MSC_VER )
 #define LIBUNA_INLINE _inline
 
-#elif defined( __BORLANDC__ ) || defined( __clang__ )
+#elif defined( __BORLANDC__ ) || defined( __clang__ ) || ( defined( __GNUC__ ) && __GNUC__ >= 5 )
 #define LIBUNA_INLINE /* inline */
 
 #else