This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: (libiberty) sbrk detection patch
- To: Mumit Khan <khan at xraylith dot wisc dot edu>
- Subject: Re: (libiberty) sbrk detection patch
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Thu, 15 Apr 1999 23:00:59 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.SUN.3.93.990415181217.19073E-100000@modi.xraylith.wisc.edu>y
ou write:
>
> libiberty/xmalloc.c is starting to look horrid with macros like the
> following:
>
> #if ! defined (_WIN32) || defined (__CYGWIN__) || defined (_UWIN)
> ... use sbrk ...
> #else
> #endif
>
> and Interix is going to add another one. About time we just autoconf
> the test for sbrk. Bootstrap tested on a few systems with and on one
> system without sbrk.
>
> Diff against 19990415 CVS.
>
> Thu Apr 15 17:50:49 1999 Mumit Khan <khan@xraylith.wisc.edu>
>
> * configure.in (checkfuncs): Check for sbrk.
> * config.in: Rebuilt.
> * configure: Likewise.
> * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
Thanks. Installed!
jeff