summaryrefslogtreecommitdiffstats
path: root/lib/byte_conversions.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/byte_conversions.h')
-rw-r--r--lib/byte_conversions.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/byte_conversions.h b/lib/byte_conversions.h
index aa4ffe6..2e4cafe 100644
--- a/lib/byte_conversions.h
+++ b/lib/byte_conversions.h
@@ -22,16 +22,16 @@
#if __BYTE_ORDER == __LITTLE_ENDIAN
#ifndef be32toh
-#define be32toh(x) __bswap_32 (x)
+#define be32toh(x) bswap_32 (x)
#endif
#ifndef htobe32
-#define htobe32(x) __bswap_32 (x)
+#define htobe32(x) bswap_32 (x)
#endif
#ifndef be64toh
-#define be64toh(x) __bswap_64 (x)
+#define be64toh(x) bswap_64 (x)
#endif
#ifndef htobe64
-#define htobe64(x) __bswap_64 (x)
+#define htobe64(x) bswap_64 (x)
#endif
#ifndef le16toh
#define le16toh(x) (x)
@@ -65,22 +65,22 @@
#define htobe64(x) (x)
#endif
#ifndef le16toh
-#define le16toh(x) __bswap_16 (x)
+#define le16toh(x) bswap_16 (x)
#endif
#ifndef htole16
-#define htole16(x) __bswap_16 (x)
+#define htole16(x) bswap_16 (x)
#endif
#ifndef le32toh
-#define le32toh(x) __bswap_32 (x)
+#define le32toh(x) bswap_32 (x)
#endif
#ifndef htole32
-#define htole32(x) __bswap_32 (x)
+#define htole32(x) bswap_32 (x)
#endif
#ifndef le64toh
-#define le64toh(x) __bswap_64 (x)
+#define le64toh(x) bswap_64 (x)
#endif
#ifndef htole64
-#define htole64(x) __bswap_64 (x)
+#define htole64(x) bswap_64 (x)
#endif
#endif /* __BYTE_ORDER == __BIG_ENDIAN */