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 <edwin.vane@intel.com>
Reviewed-by: Kevin P Schoedel <kevin.p.schoedel@intel.com>
This commit is contained in:
Edwin Vane
2012-05-22 14:16:54 -04:00
parent 3733d2185b
commit 0298ec21d2

View File

@@ -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