|
@@ -28,7 +28,7 @@ bool target_words_bigendian(void);
|
|
#ifdef COMPILING_PER_TARGET
|
|
#ifdef COMPILING_PER_TARGET
|
|
#define target_needs_bswap() (HOST_BIG_ENDIAN != TARGET_BIG_ENDIAN)
|
|
#define target_needs_bswap() (HOST_BIG_ENDIAN != TARGET_BIG_ENDIAN)
|
|
#else
|
|
#else
|
|
-#define target_needs_bswap() (target_words_bigendian() != HOST_BIG_ENDIAN)
|
|
|
|
|
|
+#define target_needs_bswap() (HOST_BIG_ENDIAN != target_words_bigendian())
|
|
#endif /* COMPILING_PER_TARGET */
|
|
#endif /* COMPILING_PER_TARGET */
|
|
|
|
|
|
static inline uint16_t tswap16(uint16_t s)
|
|
static inline uint16_t tswap16(uint16_t s)
|