]> Git Repo - qemu.git/commitdiff
rename HAVE_PREADV to CONFIG_PREADV
authorJuan Quintela <[email protected]>
Mon, 27 Jul 2009 14:12:58 +0000 (16:12 +0200)
committerAnthony Liguori <[email protected]>
Mon, 27 Jul 2009 19:09:20 +0000 (14:09 -0500)
Signed-off-by: Juan Quintela <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
configure
posix-aio-compat.c

index c9f6ac9b819e4032cd0dfd7901cc1a09a6574472..41889f7b4b3d4a5315fc11879cd8b290c0e6fa6b 100755 (executable)
--- 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
index e9fc9fa60a1d26aabac3f9222ff5940e13a3ade0..3d79f59854656ea28887d03f597890a4cd944210 100644 (file)
@@ -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)
This page took 0.032152 seconds and 4 git commands to generate.