From 0298ec21d2f895f03fcce2377f64ab4cb88bca8a Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Tue, 22 May 2012 14:16:54 -0400 Subject: Fix multiple defined symbol errors Use of __inline__ by projects in bootable/* was causing problems with clang. Following the BKM and replaced use of __inline__ with __attribute((__gnu_inline)). Change-Id: If4ccfded685bb2c9d9c23c9b92ee052208399ef0 Author: Edwin Vane Reviewed-by: Kevin P Schoedel --- minzip/inline_magic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'minzip') diff --git a/minzip/inline_magic.h b/minzip/inline_magic.h index 8c185e1..59c659f 100644 --- a/minzip/inline_magic.h +++ b/minzip/inline_magic.h @@ -18,7 +18,7 @@ #define MINZIP_INLINE_MAGIC_H_ #ifndef MINZIP_GENERATE_INLINES -#define INLINE extern __inline__ +#define INLINE extern inline __attribute((__gnu_inline__)) #else #define INLINE #endif -- cgit v1.1