Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 23:48:23 +0100
From:      Marc Recht <marc@informatik.uni-bremen.de>
To:        Nate Lawson <nate@root.org>, Mike Barcroft <mike@FreeBSD.ORG>
Cc:        current@FreeBSD.ORG
Subject:   Re: __BSD_VISIBLE and u_int
Message-ID:  <238240000.1039819703@leeloo.intern.geht.de>
In-Reply-To: <Pine.BSF.4.21.0212131423560.37378-100000@root.org>
References:   <Pine.BSF.4.21.0212131423560.37378-100000@root.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
> Hmm, which of these defines claims posix src? -D_ANSI_SOURCE ?
>
> cc -O -c -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I./../include
[...]
>
>> u_int is undocumented and unportable, so it probably shouldn't be
>> used.  It's only 3 characters shorter than `unsigned' anyway.
>
> It's for ports.
And this is once a again a good example why we _really_ need a define (like 
Solaris'__EXTENSIONS__ ) that sets __BSD_VISIBLE (no matter what) and could 
be set in CONFIBURE_ENV.

Regards,
Marc

"Premature optimization is the root of all evil." -- Donald E. Knuth
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9+mO37YQCetAaG3MRAkXzAJ4wz2rsNNHCE/lRfyTU1A2gLmGRygCghTgF
V4031+f+Tew1Ik0EimRYQ3k=
=Gj1J
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?238240000.1039819703>