qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 19/47] rename HAVE_PREADV to CONFIG_PREADV


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 19/47] rename HAVE_PREADV to CONFIG_PREADV
Date: Mon, 27 Jul 2009 16:12:58 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 configure          |    2 +-
 posix-aio-compat.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index c9f6ac9..41889f7 100755
--- a/configure
+++ b/configure
@@ -1736,7 +1736,7 @@ if test "$iovec" = "yes" ; then
   echo "#define HAVE_IOVEC 1" >> $config_host_h
 fi
 if test "$preadv" = "yes" ; then
-  echo "#define HAVE_PREADV 1" >> $config_host_h
+  echo "#define CONFIG_PREADV 1" >> $config_host_h
 fi
 if test "$fdt" = "yes" ; then
   echo "CONFIG_FDT=y" >> $config_host_mak
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index e9fc9fa..3d79f59 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)
-- 
1.6.2.5





reply via email to

[Prev in Thread] Current Thread [Next in Thread]