summaryrefslogtreecommitdiff
path: root/bswap.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:13:03 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:21 -0500
commit936dfb80f81df9f688cd37fbc1d93dc7b3f1d905 (patch)
treeb5f5c72969a5dad934490ca03e77669533ab6463 /bswap.h
parent9788c9cadf42e4814b0ed0c491734292a13a0b2d (diff)
downloadqemu-936dfb80f81df9f688cd37fbc1d93dc7b3f1d905.tar.gz
qemu-936dfb80f81df9f688cd37fbc1d93dc7b3f1d905.tar.bz2
qemu-936dfb80f81df9f688cd37fbc1d93dc7b3f1d905.zip
rename HAVE_BYTESWAP_H to CONFIG_BYTESWAP_H
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'bswap.h')
-rw-r--r--bswap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bswap.h b/bswap.h
index 864bbebf9b..06de5445eb 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)
{