kaffe-1.0.b1: fix for calloc macro breaks prototypes
Ben Laurie
ben at algroup.co.uk
Wed Jul 15 02:09:33 PDT 1998
Simon J. Gerraty wrote:
>
> In a quick attempt to compile kaffe on Solaris 2.6 using gcc-2.7.2
> The following macro:
>
> kaffe-1.0.b1/include/jmalloc.h:25:#define calloc(A, B) __malloc((A)*(B))
Isn't the right way to fix this to reorder the includes so that calloc
isn't defined before the standard headers are included?
Better yet, of course, is to not call it calloc!
Cheers,
Ben.
--
Ben Laurie |Phone: +44 (181) 735 0686| Apache Group member
Freelance Consultant |Fax: +44 (181) 735 0689|http://www.apache.org/
and Technical Director|Email: ben at algroup.co.uk |
A.L. Digital Ltd, |Apache-SSL author http://www.apache-ssl.org/
London, England. |"Apache: TDG" http://www.ora.com/catalog/apache/
WE'RE RECRUITING! http://www.aldigital.co.uk/recruit/
More information about the kaffe
mailing list