Re: [BUG] daemon.c blows up on OSX
- From
- Terje Sten Bjerkseth <terje@bjerkseth.org>
- Date
- Dec 21, 2006, 01:35 UTC
- Message-ID
- <caf068570612201735o776e01a8he2e9ab90fc2ee4f@mail.gmail.com>
- In-Reply-To
- <86vek6vyc7.fsf@blue.stonehenge.com>
On 20 Dec 2006 17:20:40 -0800, Randal L. Schwartz <merlyn@stonehenge.com> wrote:
> >>>>> "Junio" == Junio C Hamano <junkio@cox.net> writes: > Junio> Thanks for clarifying this; will apply. > > But don't because it doesn't help. :(
It definitely works here with it. This is on Mac OS X 10.4.8 (Intel) with default GCC 4.0.1 from Developer Tools.
Which version are you using? Does it work if you change from testing __APPLE_CC__ to just __APPLE__? That also works here, and is probably better anyway. (Perhaps you are using an earlier version and the former define was introduced with gcc 4.0 to separate gcc compiler versions.)