« Previous | Next » 

Revision 9b24d8e9

ID9b24d8e987d1249836cd4bccebf7c3a33025b293

Added by Andreas Färber almost 12 years ago

slirp: Avoid statements without effect on Big Endian host

Darwin has HTON*/NTOH* macros that on BE simply return the argument.
This is incompatible with SLIRP's use of these macros as a statement.

Undefine the macros in the HOST_WORDS_BIGENDIAN code path to redefine
these macros as no-op, as already done when they were undefined.

Suggested-by: Peter Maydell <>
Signed-off-by: Andreas Färber <>
Signed-off-by: Jan Kiszka <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences