On 2010-09-20 at 00:50:42 [+0200], Andreas Färber <andreas.faer...@web.de> wrote: > The following patch series together with qemu_madvise() allows to build and > run QEMU on Haiku, using GCC 4.x. > > Patches 1-5 add support for Haiku hosts to build ppc-softmmu. > They are based on qemu_madvise() v7, since Haiku does not have madvise(), > but they do not depend on it themselves so could be cherry-picked.
I didn't spot anything related to madvise() in any of the patches. Anyway, Haiku does have posix_madvise(), which, unlike madvise(), is part of POSIX. CU, Ingo