Am 11.09.2010 um 14:11 schrieb Blue Swirl:
On Sat, Sep 11, 2010 at 11:51 AM, Andreas Färber <andreas.faer...@web.de
> wrote:
From: Andreas Färber <afaer...@opensolaris.org>
vl.c has a Sun-specific hack to supply a prototype for madvise(),
but the call site has apparently moved to arch_init.c.
The underlying issue is that madvise() is not a POSIX function,
therefore Solaris' _POSIX_C_SOURCE suppresses the prototype.
Haiku doesn't implement madvise() at all.
OpenBSD doesn't implement posix_madvise(). How about adding probing to
configure and wrapping the stuff found as qemu_madvise()?
Done in "Introduce qemu_madvise()". Should've been "[PATCH v2]".
Andreas