aboutsummaryrefslogtreecommitdiff
path: root/bitops.c
diff options
context:
space:
mode:
authorAndreas Färber <andreas.faerber@web.de>2011-03-07 01:34:05 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-03-21 21:46:10 +0100
commit87b8cc3cf31d3e39c7b8f2d72332a2792a4e33b1 (patch)
tree45ff2e7e32a8a8d3346cdef12aa47ad973248d0a /bitops.c
parent8d725fac63c31562cdc25e332634a6583ca7b9b5 (diff)
softfloat: Resolve type mismatches between declaration and implementation
The original SoftFloat 2.0b library avoided the use of custom integer types in its public headers. This requires the definitions of int{8,16,32,64} to match the assumptions in the declarations. This breaks on BeOS R5 and Haiku/x86, where int32 is defined in {be,os}/support/SupportDefs.h in terms of a long rather than an int. Spotted by Michael Lotz. Since QEMU already breaks this distinction by defining those types just above, do use them for consistency and to allow #ifndef'ing them out as done for [u]int16 on AIX. Cc: Michael Lotz <mmlr@mlotz.ch> Cc: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'bitops.c')
0 files changed, 0 insertions, 0 deletions