bug#9141: [PATCH 1/3] extensions: Enable extensions on MacOS X 10.5 and
From:
Paul Eggert
Subject:
bug#9141: [PATCH 1/3] extensions: Enable extensions on MacOS X 10.5 and later.
Date:
Sun, 24 Jul 2011 23:05:35 -0700
User-agent:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
On 07/24/11 22:59, Voelker, Bernhard wrote:
>> #ifndef _ALL_SOURCE
>> # undef _ALL_SOURCE
>> #endif
>> +/* Enable general extensions on MacOS X. */
>> +#ifndef _DARWIN_C_SOURCE
>> +# undef _DARWIN_C_SOURCE
>> +#endif
>
> maybe it's too early in the morning for me ... but isn't this a NOP:
> "if X is not defined, then undefine it"?
Later shell magic edits the file to define it.
In that sense, it's just like _ALL_SOURCE,
which already works.