aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/sim-endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/ppc/sim-endian.h')
-rw-r--r--sim/ppc/sim-endian.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/sim/ppc/sim-endian.h b/sim/ppc/sim-endian.h
index c6df0f2..9a87333 100644
--- a/sim/ppc/sim-endian.h
+++ b/sim/ppc/sim-endian.h
@@ -154,13 +154,6 @@ INLINE_PSIM_ENDIAN(unsigned_8) endian_le2h_8(unsigned_8 x);
# endif
#endif
-#if (defined (__i486__) || defined (__i586__) || defined (__i686__)) && defined(__GNUC__) && WITH_BSWAP
-#undef htonl
-#undef ntohl
-#define htonl(IN) __extension__ ({ int _out; __asm__ ("bswap %0" : "=r" (_out) : "0" (IN)); _out; })
-#define ntohl(IN) __extension__ ({ int _out; __asm__ ("bswap %0" : "=r" (_out) : "0" (IN)); _out; })
-#endif
-
/* Power or PowerPC running AIX */
#if defined(_POWER) && defined(_AIX)
# if (WITH_HOST_BYTE_ORDER == 0)