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:
parent
2cb24159fb
commit
82339fcd71
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue