diff options
-rw-r--r-- | cpukit/libmisc/xz/xz_config.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cpukit/libmisc/xz/xz_config.h b/cpukit/libmisc/xz/xz_config.h index 78dcc5f247..41faf4e69b 100644 --- a/cpukit/libmisc/xz/xz_config.h +++ b/cpukit/libmisc/xz/xz_config.h @@ -62,6 +62,10 @@ typedef unsigned char bool; * NOTE: System headers on GNU/Linux may #define this macro already, * so if you want to change it, you need to #undef it first. */ +#ifdef __rtems__ +# undef __always_inline +# define __always_inline inline +#else #ifndef __always_inline # ifdef __GNUC__ # define __always_inline \ @@ -70,6 +74,7 @@ typedef unsigned char bool; # define __always_inline inline # endif #endif +#endif /* Inline functions to access unaligned unsigned 32-bit integers */ #ifndef get_unaligned_le32 |