diff options
author | Detlef Riekenberg <wine.dev@web.de> | 2009-01-07 04:11:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-07 14:27:12 -0500 |
commit | 940fbf411e5fb42aee8ab7dd814b24080951dbfc (patch) | |
tree | 7320f8e12279a1dc2b92019046f0f6f202028b1f | |
parent | ede6f5aea054d3fb67c78857f7abdee602302043 (diff) |
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 <hpa@zytor.com>
Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/types.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index 3b864f2d9560..712ca53bc348 100644 --- a/include/linux/types.h +++ b/include/linux/types.h | |||
@@ -176,10 +176,9 @@ typedef __u16 __bitwise __le16; | |||
176 | typedef __u16 __bitwise __be16; | 176 | typedef __u16 __bitwise __be16; |
177 | typedef __u32 __bitwise __le32; | 177 | typedef __u32 __bitwise __le32; |
178 | typedef __u32 __bitwise __be32; | 178 | typedef __u32 __bitwise __be32; |
179 | #if defined(__GNUC__) | ||
180 | typedef __u64 __bitwise __le64; | 179 | typedef __u64 __bitwise __le64; |
181 | typedef __u64 __bitwise __be64; | 180 | typedef __u64 __bitwise __be64; |
182 | #endif | 181 | |
183 | typedef __u16 __bitwise __sum16; | 182 | typedef __u16 __bitwise __sum16; |
184 | typedef __u32 __bitwise __wsum; | 183 | typedef __u32 __bitwise __wsum; |
185 | 184 | ||