[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 19/46] rename HAVE_PREADV to CONFIG_PREADV
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 19/46] rename HAVE_PREADV to CONFIG_PREADV |
Date: |
Fri, 24 Jul 2009 20:30:19 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
configure | 2 +-
posix-aio-compat.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index c9f6ac9..41889f7 100755
--- a/configure
+++ b/configure
@@ -1736,7 +1736,7 @@ if test "$iovec" = "yes" ; then
echo "#define HAVE_IOVEC 1" >> $config_host_h
fi
if test "$preadv" = "yes" ; then
- echo "#define HAVE_PREADV 1" >> $config_host_h
+ echo "#define CONFIG_PREADV 1" >> $config_host_h
fi
if test "$fdt" = "yes" ; then
echo "CONFIG_FDT=y" >> $config_host_mak
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index e9fc9fa..3d79f59 100644
--- a/posix-aio-compat.c
+++ b/posix-aio-compat.c
@@ -33,7 +33,7 @@ static int cur_threads = 0;
static int idle_threads = 0;
static TAILQ_HEAD(, qemu_paiocb) request_list;
-#ifdef HAVE_PREADV
+#ifdef CONFIG_PREADV
static int preadv_present = 1;
#else
static int preadv_present = 0;
@@ -102,7 +102,7 @@ static size_t handle_aiocb_ioctl(struct qemu_paiocb *aiocb)
return aiocb->aio_nbytes;
}
-#ifdef HAVE_PREADV
+#ifdef CONFIG_PREADV
static ssize_t
qemu_preadv(int fd, const struct iovec *iov, int nr_iov, off_t offset)
--
1.6.2.5
- [Qemu-devel] [PATCH 09/46] make oss use OSS_LIBS, (continued)
- [Qemu-devel] [PATCH 09/46] make oss use OSS_LIBS, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 10/46] move printing of config-host.mak variables to end of generation, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 06/46] remove CONFIG_ from VNC_SASL_{LIBS, FLAGS}, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 08/46] make fmod also use FMOD_{LIBS,CFLAGS}, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 15/46] fix indententation, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 20/46] rename HAVE_IOVEC to CONFIG_IOVEC, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 03/46] target_arch2 is redefined unconditionally later, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 16/46] O_LARGEFILE is already set in qemu-common.h, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 13/46] Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 14/46] Refactor code to remove one #ifdef CONFIG_FDT, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 19/46] rename HAVE_PREADV to CONFIG_PREADV,
Juan Quintela <=
- [Qemu-devel] [PATCH 18/46] define MAP_ANONYMOUS if it is not defined in qemu-common.h, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 17/46] rename HOST_BSD to CONFIG_BSD, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 23/46] rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 11/46] more specific config.mak can overwrote more general config.mak, Juan Quintela, 2009/07/24
- [Qemu-devel] [PATCH 12/46] Add -static in configure if needed, Juan Quintela, 2009/07/24