|
From: sfeam <sf...@us...> - 2014-08-22 04:16:17
|
On Friday, 22 August 2014 12:04:48 PM Jun T. wrote:
> Compiling bf_test.c fails on my Mac as follows:
>
> bf_test.c:24:10: fatal error: 'malloc.h' file not found
>
> malloc.h is not available on Mac OS X; calloc() is in stdlib.h.
>
> Since configure script checks for both stdlib.h and malloc.h,
> it would be possible to use HAVE_STDLIB_H and HAVE_MALLOC_H
> to include proper header file. I believe we can ignore systems
> on which neither stdlib.h nor malloc.h is available.
OK. We'll try that and see if any other problem platforms are
reported. Please confirm that the modified version now in CVS
works on OSX.
thanks,
Ethan
|