Skip to content

Commit

Permalink
rename HAVE_PREADV to CONFIG_PREADV
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Quintela <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
  • Loading branch information
Juan Quintela authored and Anthony Liguori committed Jul 27, 2009
1 parent 0e74e66 commit 2341f9a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions posix-aio-compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 2341f9a

Please sign in to comment.