[Top][All Lists]

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

Re: [Bug-XBoard] configure doesn't do the right thing after no malloc.h

From: Arun Persaud
Subject: Re: [Bug-XBoard] configure doesn't do the right thing after no malloc.h detected on MacOSX
Date: Sun, 03 Apr 2011 20:28:38 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8


On 04/03/2011 06:55 AM, Dima Pasechnik wrote:
> There is no malloc.h header on MacOSX 10.6,
> which is of course not a problem, but engineoutput.c still includes malloc.h
> and does not compile because of this.
> Presenting it with a dummy (empty, say) malloc.h) allows
> the program to compile, build, and work just fine, so this is just a question 
> of
> making configure do the right thing in this case.

thanks for reporting, should be fixed now in the latest git version.

I added a #if HAVE_MALLOC_H...#endif around it.

I start to think that we don't need to include malloc.h at all though,
since malloc is defined in stdlib and malloc.h adds other protodyptes.
Seems as if you can compile it without malloc.h anyway... we'll look
into it. I CC'ed Tim and HGM on it, they probably know more about this...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]