toplev.c
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Mon Jan 19 02:06:00 GMT 1998
> From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
>
> Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz> writes:
>
> |> Hi!
> |> In toplev.c I read:
>
> |> #ifdef __alpha
> |> extern char *sbrk ();
> |> #endif
>
> |> Now, this prototype is needed not only for alpha, but for all 64bit
> |> platforms which have sizeof(void *) > sizeof(int).
>
> Actually every platform would benefit from it, unless there is a conflict
> with some broken header.
> --
> Andreas Schwab "And now for something
You can add GCC_NEED_DECLARATION(sbrk) to configure.in and put
#ifdef NEED_DECLARATION_SBRK wrapper around the extern decl.
--Kaveh
--
Kaveh R. Ghazi Project Manager / Custom Development
ghazi@caip.rutgers.edu ICon CMT Corp.
More information about the Gcc
mailing list