summaryrefslogtreecommitdiff
path: root/posix-aio-compat.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:12:58 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:20 -0500
commitd6862c03bab40656941309cf6b50a10bed5df87a (patch)
treede14f0256ac534e7935dca4e835a681cc8589acf /posix-aio-compat.c
parent00a2afb1dfbb600fe8a563fe47abef9197dbbd0c (diff)
downloadqemu-d6862c03bab40656941309cf6b50a10bed5df87a.tar.gz
qemu-d6862c03bab40656941309cf6b50a10bed5df87a.tar.bz2
qemu-d6862c03bab40656941309cf6b50a10bed5df87a.zip
rename HAVE_PREADV to CONFIG_PREADV
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'posix-aio-compat.c')
-rw-r--r--posix-aio-compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index e9fc9fa60a..3d79f59854 100644
--- a/posix-aio-compat.c
+++ b/posix-aio-compat.c
@@ -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)