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

Re: #ifdef __USE_GNU in /usr/include/bits/socket.h in F9 vs F8

On Fri, 2008-10-17 at 10:57 -0700, Ulrich Drepper wrote:
> Michael H. Warfield wrote:
> > 	I don't see the reason for this change since all it does is eliminate
> > the ucred structure definition without defining any replacement.
> This has nothing to do with replacing it.  The #ifdef is needed for
> namespace hygiene.  This is a POSIX header and you cannot expect
> non-POSIX symbols to be defined by default.  Just compile the whole
> application with -D_GNU_SOURCE defined on the compiler command line.

	Ok...  Fair enough.  An explanation and a fix.  And quick!  Can't ask
for much better than that.

> - --
> ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

	Many thanks!

Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw WittsEnd com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471        | possible worlds.  A pessimist is sure of it!

Attachment: signature.asc
Description: This is a digitally signed message part

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