]> git.proxmox.com Git - mirror_qemu.git/commit - configure
raw-posix: Fix build without posix_fallocate()
authorKevin Wolf <kwolf@redhat.com>
Mon, 29 Sep 2014 15:12:59 +0000 (17:12 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 29 Sep 2014 15:28:24 +0000 (16:28 +0100)
commited9114356b587b362f5ed10e75366a4f07ed32af
tree24a063327e9e7e424cb7ef04389df8dd64b0c4b9
parent0ebcc564533454853e66cbe665a0d23bf7199834
raw-posix: Fix build without posix_fallocate()

Check for the presence of posix_fallocate() in configure and only
compile in support for PREALLOC_MODE_FALLOC when it's there.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
block/raw-posix.c
configure