diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-16 22:24:42 +0300 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-16 22:24:42 +0300 |
commit | 82339fcd717b4365caf65abf67072840342b4730 (patch) | |
tree | b7634b88aae0e6c53078d2adad1a4d90e7840dc6 /newlib/libc | |
parent | 2cb24159fbb2a5f8a28d87413b517e6f2b242a0f (diff) |
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>
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/sys/cdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/sys/cdefs.h b/newlib/libc/include/sys/cdefs.h index db5f2bf2d..fc564a5c6 100644 --- a/newlib/libc/include/sys/cdefs.h +++ b/newlib/libc/include/sys/cdefs.h @@ -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 |