From: Juan Quintela Date: Mon, 27 Jul 2009 14:12:59 +0000 (+0200) Subject: rename HAVE_IOVEC to CONFIG_IOVEC X-Git-Tag: v0.12.0-rc0~1798 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6114fdb0c582bbf139bc6b4545552cc6223d3c8b;p=thirdparty%2Fqemu.git rename HAVE_IOVEC to CONFIG_IOVEC Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- diff --git a/configure b/configure index 41889f7b4b3..99a533768f7 100755 --- a/configure +++ b/configure @@ -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 671c0fce1a1..3cf7f4ed6ca 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;