Re: [PATCH] linux/types.h: Do not depend on __GNUC__ for __le64 and__be64

From: H. Peter Anvin
Date: Mon Dec 29 2008 - 19:05:27 EST


Detlef Riekenberg wrote:
> Hi.
> <linux/cdrom.h> is used in Wine, but failed to compile with pcc.
> (__le64 and __be64 are referenced in <linux/byteorder/little_endian.h>)
>
> There is no reason to restrict the typedefs with __GNUC__.
> As reference, the typedefs for __u64 and __s64 where fixed
> to be available with pcc on 02. Mai 2008 by H. Peter Anvin
> (commit edfa5cfa3dc5bfa95e6aa82a2b8904e7f6c35ed7)
>
> Wine: http://www.winehq.org
> pcc: http://pcc.ludd.ltu.se
>

Acked-by: H. Peter Anvin <hpa@xxxxxxxxx>

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/