Messages in this thread | | | Date | Mon, 27 Aug 2007 17:42:43 -0400 | From | "Mike Frysinger" <> | Subject | Re: [-mm patch] make types.h usable for non-gcc C parsers |
| |
On 8/27/07, Adrian Bunk <bunk@kernel.org> wrote: > On Mon, Aug 27, 2007 at 05:34:21PM -0400, Mike Frysinger wrote: > > On 8/27/07, Adrian Bunk <bunk@kernel.org> wrote: > > > This patch makes the 64bit integers on 32bit architectures usable for > > > all C parsers that know about "long long". > > > > ah, yet another attempt at this stuff > > > > you probably need to update linux/types.h as well > > What problems do you observe with linux/types.h?
just grep for __GNUC__ ...
#if defined(__GNUC__) && !defined(__STRICT_ANSI__) typedef __u64 uint64_t; typedef __u64 u_int64_t; typedef __s64 int64_t; #endif
#if defined(__GNUC__) && !defined(__STRICT_ANSI__) typedef __u64 __bitwise __le64; typedef __u64 __bitwise __be64; #endif
you've made available __u64 and __s64, but not the rest ... -mike - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |