Commit 2341f9a1adb42c8c1049ac63bd26fe8d6b0368c1
Committed by
Anthony Liguori
1 parent
0e74e66b
rename HAVE_PREADV to CONFIG_PREADV
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
2 changed files
with
3 additions
and
3 deletions
configure
... | ... | @@ -1736,7 +1736,7 @@ if test "$iovec" = "yes" ; then |
1736 | 1736 | echo "#define HAVE_IOVEC 1" >> $config_host_h |
1737 | 1737 | fi |
1738 | 1738 | if test "$preadv" = "yes" ; then |
1739 | - echo "#define HAVE_PREADV 1" >> $config_host_h | |
1739 | + echo "#define CONFIG_PREADV 1" >> $config_host_h | |
1740 | 1740 | fi |
1741 | 1741 | if test "$fdt" = "yes" ; then |
1742 | 1742 | echo "CONFIG_FDT=y" >> $config_host_mak | ... | ... |
posix-aio-compat.c
... | ... | @@ -33,7 +33,7 @@ static int cur_threads = 0; |
33 | 33 | static int idle_threads = 0; |
34 | 34 | static TAILQ_HEAD(, qemu_paiocb) request_list; |
35 | 35 | |
36 | -#ifdef HAVE_PREADV | |
36 | +#ifdef CONFIG_PREADV | |
37 | 37 | static int preadv_present = 1; |
38 | 38 | #else |
39 | 39 | static int preadv_present = 0; |
... | ... | @@ -102,7 +102,7 @@ static size_t handle_aiocb_ioctl(struct qemu_paiocb *aiocb) |
102 | 102 | return aiocb->aio_nbytes; |
103 | 103 | } |
104 | 104 | |
105 | -#ifdef HAVE_PREADV | |
105 | +#ifdef CONFIG_PREADV | |
106 | 106 | |
107 | 107 | static ssize_t |
108 | 108 | qemu_preadv(int fd, const struct iovec *iov, int nr_iov, off_t offset) | ... | ... |