diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:12:58 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:09:20 -0500 |
commit | 2341f9a1adb42c8c1049ac63bd26fe8d6b0368c1 (patch) | |
tree | de14f0256ac534e7935dca4e835a681cc8589acf | |
parent | 0e74e66bd55150f781c78794c4a52e17edcf75e6 (diff) |
rename HAVE_PREADV to CONFIG_PREADV
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | posix-aio-compat.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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 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) |