Re: [Qemu-devel] [PATCH] Fix leul_to_cpu on big endian hosts

2010-05-31 Thread Aurelien Jarno
On Mon, May 31, 2010 at 08:44:55PM +0200, Alexander Graf wrote: > Aurelien Jarno wrote: > > On Tue, May 11, 2010 at 05:38:17PM +0200, Alexander Graf wrote: > > > >> Commit 213acd2e introduced leul_to_cpu with a special code path for big > >> endian > >> hosts. Unfortunately that code used prepr

Re: [Qemu-devel] [PATCH] Fix leul_to_cpu on big endian hosts

2010-05-31 Thread Alexander Graf
Alexander Graf wrote: > 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

Re: [Qemu-devel] [PATCH] Fix leul_to_cpu on big endian hosts

2010-05-31 Thread Aurelien Jarno
On Tue, May 11, 2010 at 05:38:17PM +0200, Alexander Graf wrote: > 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 >

Re: [Qemu-devel] [PATCH] Fix leul_to_cpu on big endian hosts

2010-05-31 Thread Alexander Graf
Aurelien Jarno wrote: > On Tue, May 11, 2010 at 05:38:17PM +0200, Alexander Graf wrote: > >> 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 b