[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 23/46] rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 23/46] rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H |
Date: |
Fri, 24 Jul 2009 20:30:23 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
bswap.h | 4 ++--
configure | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bswap.h b/bswap.h
index 864bbeb..06de544 100644
--- a/bswap.h
+++ b/bswap.h
@@ -11,7 +11,7 @@
#include <machine/bswap.h>
#else
-#ifdef HAVE_BYTESWAP_H
+#ifdef CONFIG_BYTESWAP_H
#include <byteswap.h>
#else
@@ -47,7 +47,7 @@
(uint64_t)(((uint64_t)(__x) & (uint64_t)0xff00000000000000ULL)
>> 56) )); \
})
-#endif /* !HAVE_BYTESWAP_H */
+#endif /* !CONFIG_BYTESWAP_H */
static inline uint16_t bswap16(uint16_t x)
{
diff --git a/configure b/configure
index bb91fe1..1b9d7c0 100755
--- a/configure
+++ b/configure
@@ -1541,7 +1541,7 @@ else
int main(void) { return bswap_32(0); }
EOF
if $cc $ARCH_CFLAGS -o $TMPE $TMPC >/dev/null 2> /dev/null ; then
- echo "#define HAVE_BYTESWAP_H 1" >> $config_host_h
+ echo "#define CONFIG_BYTESWAP_H 1" >> $config_host_h
fi
cat > $TMPC << EOF
#include <sys/endian.h>
--
1.6.2.5
- [Qemu-devel] [PATCH 08/46] make fmod also use FMOD_{LIBS,CFLAGS}, (continued)
- [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, 2009/07/24
- [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 <=
- [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