This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: (libiberty) sbrk detection patch



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]