[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux/types.h <-> glibc interferences



On Fri, Aug 24, 2007 at 12:06:36AM +0200, Bastian Blank wrote:
> >                        If there's userspace code that wants to get the
> > kernel types under the standard posix names, why break that?
> 
> Please provide a less strict fix which works. Userspace code can only
> use this definitions within a freestanding compiler without libc.

I update the guard to "defined __KERNEL__ || __STDC_HOSTED__ == 0". This
way the kernel and the freestanding compiler can use them.

Bastian

-- 
The heart is not a logical organ.
		-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4



Reply to: