diff options
Diffstat (limited to 'sys/powerpc/include/endian.h')
-rw-r--r-- | sys/powerpc/include/endian.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/include/endian.h b/sys/powerpc/include/endian.h index af8f030..bc96b9e 100644 --- a/sys/powerpc/include/endian.h +++ b/sys/powerpc/include/endian.h @@ -65,7 +65,7 @@ #define BYTE_ORDER _BYTE_ORDER #endif -#ifdef __GNUC__ +#ifdef __CC_SUPPORTS___INLINE static __inline __uint16_t __bswap16(__uint16_t _x) @@ -97,7 +97,7 @@ __bswap64(__uint64_t _x) #define __ntohl(x) ((__uint32_t)(x)) #define __ntohs(x) ((__uint16_t)(x)) -#else /* !__GNUC__ */ +#else /* !__CC_SUPPORTS___INLINE */ /* * No optimizations are available for this compiler. Fall back to @@ -106,6 +106,6 @@ __bswap64(__uint64_t _x) */ #define _BYTEORDER_FUNC_DEFINED -#endif /* __GNUC__ */ +#endif /* __CC_SUPPORTS___INLINE */ #endif /* !_MACHINE_ENDIAN_H_ */ |