[OpenBIOS] [PATCH] fcode-utils: Add type support for Haiku
stefan.reinauer at coresystems.de
Sun Sep 19 22:10:22 CEST 2010
On 9/19/10 7:11 PM, Andreas Färber wrote:
> Haiku does not have asm/types.h. It does have [u]int*_t but not
> in sys/types.h. Use stdint.h instead, that works for both Haiku and
> OpenSolaris and avoids more code duplication in shared/types.h.
> Signed-off-by: Andreas Färber<andreas.faerber at web.de>
> Cc: Stefan Reinauer<stepan at openbios.org>
Thanks for spotting this and sending a patch!
Hm.. I'm just wondering... shouldn't we instead use stdint.h for all
platforms? It's there at least on all C99 compilers (see section 7.18)..
I think we can stop caring too much for platforms with more than 10yr
old compilers (that, in addition, don't come with stdint.h anyways)
More information about the OpenBIOS