mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
rename HAVE_PREADV to CONFIG_PREADV
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0e74e66bd5
commit
2341f9a1ad
2 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ static int cur_threads = 0;
|
|||
static int idle_threads = 0;
|
||||
static TAILQ_HEAD(, qemu_paiocb) request_list;
|
||||
|
||||
#ifdef HAVE_PREADV
|
||||
#ifdef CONFIG_PREADV
|
||||
static int preadv_present = 1;
|
||||
#else
|
||||
static int preadv_present = 0;
|
||||
|
@ -102,7 +102,7 @@ static size_t handle_aiocb_ioctl(struct qemu_paiocb *aiocb)
|
|||
return aiocb->aio_nbytes;
|
||||
}
|
||||
|
||||
#ifdef HAVE_PREADV
|
||||
#ifdef CONFIG_PREADV
|
||||
|
||||
static ssize_t
|
||||
qemu_preadv(int fd, const struct iovec *iov, int nr_iov, off_t offset)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue