diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-21 01:02:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-21 01:02:53 +0000 |
commit | fef1696ffcfaeb438ebd8c519edd3baf212b76e7 (patch) | |
tree | e16e4e7a49cef8a194aea6c7828b359beeed04c4 /gdb/acconfig.h | |
parent | dbc4eefc3dcccd9f8759540505e3fb9c466c7d62 (diff) | |
download | gdb-fef1696ffcfaeb438ebd8c519edd3baf212b76e7.zip gdb-fef1696ffcfaeb438ebd8c519edd3baf212b76e7.tar.gz gdb-fef1696ffcfaeb438ebd8c519edd3baf212b76e7.tar.bz2 |
* aclocal.m4: Include ../bfd/aclocal.m4.
* configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call
BFD_NEED_DECLARATION on malloc, realloc, and free.
* acconfig.h: Add NEED_DECLARATION_MALLOC,
NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
* configure, config.in: Rebuild.
* defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
rather than __STDC__. Only declare malloc, realloc, and free if
NEED_DECLARATION_* is defined.
Diffstat (limited to 'gdb/acconfig.h')
-rw-r--r-- | gdb/acconfig.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/acconfig.h b/gdb/acconfig.h index 34fa8c8..fc7ce7c 100644 --- a/gdb/acconfig.h +++ b/gdb/acconfig.h @@ -1,4 +1,14 @@ +/* Whether malloc must be declared even if <stdlib.h> is included. */ +#undef NEED_DECLARATION_MALLOC + +/* Whether realloc must be declared even if <stdlib.h> is included. */ +#undef NEED_DECLARATION_REALLOC + +/* Whether free must be declared even if <stdlib.h> is included. */ +#undef NEED_DECLARATION_FREE +@TOP@ + /* Define if fpregset_t type is available. */ #undef HAVE_FPREGSET_T |