]> git.proxmox.com Git - mirror_qemu.git/commit - softmmu_template.h
qemu 1.7.0 does not build on NetBSD
authorMartin Husemann <martin@duskware.de>
Sat, 18 Jan 2014 13:47:23 +0000 (14:47 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 1 Feb 2014 09:42:38 +0000 (13:42 +0400)
commitdc9a353cf7de78b9fae3e46410803d487fd2fc8f
tree3db92ecd8faaae0a62088652a5c915bb55aec24b
parent89e4a51ca9546a7bbe1998c4e3d4a3ac3a0c19be
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 <martin@NetBSD.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
include/exec/softmmu_template.h