From: Detlef Riekenberg Date: Wed, 7 Jan 2009 09:11:44 +0000 (+0100) Subject: linux/types.h: Don't depend on __GNUC__ for __le64/__be64 X-Git-Tag: v2.6.29-rc1~199 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=940fbf411e5fb42aee8ab7dd814b24080951dbfc;p=linux-2.6-omap-h63xx.git linux/types.h: Don't depend on __GNUC__ for __le64/__be64 The typedefs for __u64 and __s64 where fixed to be available for other compiler on May 2 2008 by H. Peter Anvin (in commit edfa5cfa3dc5) Acked-by: H. Peter Anvin Signed-off-by: Detlef Riekenberg Signed-off-by: Linus Torvalds --- diff --git a/include/linux/types.h b/include/linux/types.h index 3b864f2d956..712ca53bc34 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -176,10 +176,9 @@ typedef __u16 __bitwise __le16; typedef __u16 __bitwise __be16; typedef __u32 __bitwise __le32; typedef __u32 __bitwise __be32; -#if defined(__GNUC__) typedef __u64 __bitwise __le64; typedef __u64 __bitwise __be64; -#endif + typedef __u16 __bitwise __sum16; typedef __u32 __bitwise __wsum;