rename HAVE_IOVEC to CONFIG_IOVEC

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
master
Juan Quintela 2009-07-27 16:12:59 +02:00 committed by Anthony Liguori
parent 2341f9a1ad
commit 6114fdb0c5
2 changed files with 3 additions and 3 deletions

2
configure vendored
View File

@ -1733,7 +1733,7 @@ if test "$blobs" = "yes" ; then
echo "INSTALL_BLOBS=yes" >> $config_host_mak echo "INSTALL_BLOBS=yes" >> $config_host_mak
fi fi
if test "$iovec" = "yes" ; then if test "$iovec" = "yes" ; then
echo "#define HAVE_IOVEC 1" >> $config_host_h echo "#define CONFIG_IOVEC 1" >> $config_host_h
fi fi
if test "$preadv" = "yes" ; then if test "$preadv" = "yes" ; then
echo "#define CONFIG_PREADV 1" >> $config_host_h echo "#define CONFIG_PREADV 1" >> $config_host_h

View File

@ -39,8 +39,8 @@
#define ENOMEDIUM ENODEV #define ENOMEDIUM ENODEV
#endif #endif
#ifndef HAVE_IOVEC #ifndef CONFIG_IOVEC
#define HAVE_IOVEC #define CONFIG_IOVEC
struct iovec { struct iovec {
void *iov_base; void *iov_base;
size_t iov_len; size_t iov_len;