Commit Graph

6 Commits

Author SHA1 Message Date
Jason Molenda
89097c5bc5 * configure.in: add check for stddef.h
* mmalloc.h: include stddef.h if HAVE_STDDEF_H is defined.
1995-11-05 08:15:15 +00:00
Jason Molenda
c93a17b7ab * configure.in: add AC_HEADER_STDC check.
* mmalloc.h: check if STDC_HEADERS instead of __STDC__.

        * mmprivate.h: check if STDC_HEADERS instead of __STDC__.

This change is necessary to build under AIX 3.2.5 w/ cc after Stan's
Oct 24 change.  I'm not convinced that changing mmalloc.h in this way
is such a good thing--if a directory that doesn't use autoconf (or one
that DOES use autoconf but doesn't put all the defines on the command
line), and it includes mmalloc.h, the right thing won't happen.

I believe gdb is the only directory which uses mmalloc, though, so
it should be OK.
1995-11-05 03:12:15 +00:00
Fred Fish
fa128a27ab Only redefine size_t and CHAR_BIT if they are not already defined. 1992-04-08 05:17:56 +00:00
Fred Fish
f73b6c4867 Get rid of the other half of the ugly kludge as well... 1992-04-07 03:54:54 +00:00
Fred Fish
aafba48f94 Get rid of include of <stdlib.h>, which is not guaranteed to be present
even when __STDC__ is defined.  This also causes the ugly malloc/realloc/etc
kludge to go away.
1992-04-07 03:53:12 +00:00
Fred Fish
9640d88754 Add kludge to work around broken <stdlib.h> in gcc installation on Suns.
Fixup some comments in mcalloc, mfree, mmalloc, and mrealloc.
1992-04-01 19:49:00 +00:00