aboutsummaryrefslogtreecommitdiff
path: root/bswap.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-21 17:06:25 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-03-21 17:06:25 +0000
commitf193c7979c2f7e4e021453689b5dd9c8abdcbbc4 (patch)
tree476de8558dbbfda14b4e96ce22eb511835f4114a /bswap.h
parent3035f7ff83c9f072c0b9dc7a95789dba613b8750 (diff)
do not depend on thunk.h - more log items
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@675 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'bswap.h')
-rw-r--r--bswap.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/bswap.h b/bswap.h
index c52933e493..0df6efcb4d 100644
--- a/bswap.h
+++ b/bswap.h
@@ -43,14 +43,6 @@
#endif /* !HAVE_BYTESWAP_H */
-#if defined(__alpha__) || defined (__ia64__) || defined(__x86_64__)
-#define HOST_LONG_BITS 64
-#else
-#define HOST_LONG_BITS 32
-#endif
-
-#define HOST_LONG_SIZE (HOST_LONG_BITS / 8)
-
static inline uint16_t bswap16(uint16_t x)
{
return bswap_16(x);