Skip to content

Commit

Permalink
linux/types.h: Don't depend on __GNUC__ for __le64/__be64
Browse files Browse the repository at this point in the history
The typedefs for __u64 and __s64 where fixed to be available for other
compiler on May 2 2008 by H.  Peter Anvin (in commit edfa5cf)

Acked-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Detlef Riekenberg authored and Linus Torvalds committed Jan 7, 2009
1 parent ede6f5a commit 940fbf4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/linux/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 940fbf4

Please sign in to comment.