« Previous | Next » 

Revision dc9a353c

IDdc9a353cf7de78b9fae3e46410803d487fd2fc8f

Added by Martin Husemann over 10 years ago

qemu 1.7.0 does not build on NetBSD

Do not rely on int8_t (and friends) not being preprocessor
symbols (or symbols expanding to themselves). On NetBSD (for example) the
glue(u, SDATA_TYPE) results in u__int8_t, which is undefined. There is no way
to stop cpp expanding inner macros, so just add the few lines explicitly and
get rid of the magic.

Signed-off-by: Martin Husemann <>
Reviewed-by: Peter Maydell <>
Reviewed-by: Andreas Färber <>
Signed-off-by: Michael Tokarev <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences