Commit 6114fdb0c582bbf139bc6b4545552cc6223d3c8b
Committed by
Anthony Liguori
1 parent
2341f9a1
rename HAVE_IOVEC to CONFIG_IOVEC
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
| @@ -1733,7 +1733,7 @@ if test "$blobs" = "yes" ; then | @@ -1733,7 +1733,7 @@ if test "$blobs" = "yes" ; then | ||
| 1733 | echo "INSTALL_BLOBS=yes" >> $config_host_mak | 1733 | echo "INSTALL_BLOBS=yes" >> $config_host_mak |
| 1734 | fi | 1734 | fi |
| 1735 | if test "$iovec" = "yes" ; then | 1735 | if test "$iovec" = "yes" ; then |
| 1736 | - echo "#define HAVE_IOVEC 1" >> $config_host_h | 1736 | + echo "#define CONFIG_IOVEC 1" >> $config_host_h |
| 1737 | fi | 1737 | fi |
| 1738 | if test "$preadv" = "yes" ; then | 1738 | if test "$preadv" = "yes" ; then |
| 1739 | echo "#define CONFIG_PREADV 1" >> $config_host_h | 1739 | echo "#define CONFIG_PREADV 1" >> $config_host_h |
qemu-common.h
| @@ -39,8 +39,8 @@ | @@ -39,8 +39,8 @@ | ||
| 39 | #define ENOMEDIUM ENODEV | 39 | #define ENOMEDIUM ENODEV |
| 40 | #endif | 40 | #endif |
| 41 | 41 | ||
| 42 | -#ifndef HAVE_IOVEC | ||
| 43 | -#define HAVE_IOVEC | 42 | +#ifndef CONFIG_IOVEC |
| 43 | +#define CONFIG_IOVEC | ||
| 44 | struct iovec { | 44 | struct iovec { |
| 45 | void *iov_base; | 45 | void *iov_base; |
| 46 | size_t iov_len; | 46 | size_t iov_len; |