aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bswap.h b/bswap.h
index 956f3fa0b7..20caae63ea 100644
--- a/bswap.h
+++ b/bswap.h
@@ -205,7 +205,7 @@ static inline void cpu_to_be32wu(uint32_t *p, uint32_t v)
#ifdef HOST_WORDS_BIGENDIAN
#define cpu_to_32wu cpu_to_be32wu
-#define leul_to_cpu(v) le ## HOST_LONG_BITS ## _to_cpu(v)
+#define leul_to_cpu(v) glue(glue(le,HOST_LONG_BITS),_to_cpu)(v)
#else
#define cpu_to_32wu cpu_to_le32wu
#define leul_to_cpu(v) (v)