diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:12:59 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:09:20 -0500 |
commit | 6114fdb0c582bbf139bc6b4545552cc6223d3c8b (patch) | |
tree | b45dcf8e6d1b03dccf369c1bce692ec7d024dff2 | |
parent | 2341f9a1adb42c8c1049ac63bd26fe8d6b0368c1 (diff) |
rename HAVE_IOVEC to CONFIG_IOVEC
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-- | qemu-common.h | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1733,7 +1733,7 @@ if test "$blobs" = "yes" ; then echo "INSTALL_BLOBS=yes" >> $config_host_mak fi if test "$iovec" = "yes" ; then - echo "#define HAVE_IOVEC 1" >> $config_host_h + echo "#define CONFIG_IOVEC 1" >> $config_host_h fi if test "$preadv" = "yes" ; then echo "#define CONFIG_PREADV 1" >> $config_host_h diff --git a/qemu-common.h b/qemu-common.h index 671c0fce1a..3cf7f4ed6c 100644 --- a/qemu-common.h +++ b/qemu-common.h @@ -39,8 +39,8 @@ #define ENOMEDIUM ENODEV #endif -#ifndef HAVE_IOVEC -#define HAVE_IOVEC +#ifndef CONFIG_IOVEC +#define CONFIG_IOVEC struct iovec { void *iov_base; size_t iov_len; |