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:
Yaakov Selkowitz 2018-01-16 13:24:42 -06:00
parent 2cb24159fb
commit 82339fcd71
1 changed files with 1 additions and 1 deletions

View File

@ -385,7 +385,7 @@
#endif
#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
#define __always_inline
#endif