提交 6114fdb0 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

rename HAVE_IOVEC to CONFIG_IOVEC

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 2341f9a1
......@@ -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
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册