Make __always_inline macro compatible with glibc
For example, this is used when cross-compiling the Linux kernel on Cygwin. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
@@ -385,7 +385,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __GNUC_PREREQ__(3, 1) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 800)
|
#if __GNUC_PREREQ__(3, 1) || (defined(__INTEL_COMPILER) && __INTEL_COMPILER >= 800)
|
||||||
#define __always_inline __attribute__((__always_inline__))
|
#define __always_inline __inline__ __attribute__((__always_inline__))
|
||||||
#else
|
#else
|
||||||
#define __always_inline
|
#define __always_inline
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user