[<prev] [next>] [day] [month] [year] [list]
Message-ID: <787b0d920612201852u62bb43ebs82d9129a849b0e50@mail.gmail.com>
Date: Wed, 20 Dec 2006 21:52:09 -0500
From: "Albert Cahalan" <acahalan@...il.com>
To: junkio@....net, merlyn@...nehenge.com, git@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [BUG] daemon.c blows up on OSX
Linus Torvalds writes:
> So it would appear that for OS X, the
>
> #define _XOPEN_SOURCE_EXTENDED 1 /* AIX 5.3L needs this */
> #define _GNU_SOURCE
> #define _BSD_SOURCE
> sequence actually _disables_ those things.
Yes, of course. The odd one here is glibc.
Normal systems enable everything by default. As soon as you
specify a feature define, you get ONLY what you asked for.
I'm not sure why glibc is broken, but I suspect that somebody
wants to make everyone declare their code to be GNU source.
(despite many "GNU" things not working on the HURD at all)
Define _APPLE_C_SOURCE to make MacOS X give you everything.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists