Re: OFFTOPIC: e2fsprogs and +2Gb partitions

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 13 Jun 1998 18:32:58 +0100 (BST)


> Andi Kleen <ak@muc.de> writes:
>
> > One thing I would wish for a _LINUX_SOURCE would be the definition of
> > the "linux standard" __u{64,32,16,8} / u{64,32,16,8} /
> > s{64,32,16,8} / __s{64,32,16,8} typedefs.
>
> Did you ever thought about namespace problems? These names are one of
> the reasons many programs contain #ifdef linux or exist in Linux
> variants.

Thats why _LINUX_SOURCE is clearly needed for such a case. The namespace
issues are not trivial.

> A very easy solution to this problem is to have in the application
> code a header which defines these types. Not including these types is
> again the only mean to make sure these incompatible types are not
> generally used.

Every application ?

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu