Fix leul_to_cpu on big endian hosts
commit17e6a53f8223e469034e3ba95b67ec0501f39325
authorAlexander Graf <agraf@suse.de>
Tue, 11 May 2010 15:38:17 +0000 (11 17:38 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 31 May 2010 18:55:23 +0000 (31 20:55 +0200)
tree43adc5e78edb2a7ad895ca2a154b9b8102fdd7bc
parente03c22a98cf5deffd0dec2f9ff88a600aa330bc4
Fix leul_to_cpu on big endian hosts

Commit 213acd2e introduced leul_to_cpu with a special code path for big endian
hosts. Unfortunately that code used preprocessor magic that didn't work.

This patch replaces the explicit ##s by glue() which is proven to work reliably,
enabling me to compile qemu on ppc again.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
bswap.h