[PATCH] sfnt2fnt: Fix broken .fon files on !x86 architectures
David Laight
david at l8s.co.uk
Fri Jun 15 15:18:39 CDT 2012
On Fri, Jun 15, 2012 at 07:52:50PM +0200, Hilko Bengen wrote:
> +#define htole16(_x) ( (((_x) & 0xff) << 8) | \
> + (((_x) & 0xff00) >> 8) )
> +#define htole32(_x) ( (((_x) & 0xff) << 24) | \
> + (((_x) & 0xff00) << 8) | \
> + (((_x) & 0xff0000) >> 8) | \
> + (((_x) & 0xff000000) >> 24) )
You shouldn't really define macros that expand their arguments
multiple times.
David
--
David Laight: david at l8s.co.uk
More information about the wine-devel
mailing list