mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be>
* configure.in (strerror): Check if function must be declared. * acconfig.h (NEED_DECLARATION_STRERROR): New define slot. * gdb_string.h (strerror): Function declaration issued if NEED_DECLARATION_STRERROR. * configure, config.in : Files regenerated.
This commit is contained in:
parent
ca39bf77b0
commit
21cbc60c52
@ -1,3 +1,11 @@
|
||||
Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be>
|
||||
|
||||
* configure.in (strerror): Check if function must be declared.
|
||||
* acconfig.h (NEED_DECLARATION_STRERROR): New define slot.
|
||||
* gdb_string.h (strerror): Function declaration issued if
|
||||
NEED_DECLARATION_STRERROR.
|
||||
* configure, config.in : Files regenerated.
|
||||
|
||||
Thu Apr 23 12:27:43 1998 Philippe De Muyter <phdm@macqel.be>
|
||||
|
||||
* symfile.c (simple_overlay_update_1): Do not prefix array address
|
||||
|
@ -7,6 +7,9 @@
|
||||
|
||||
/* Whether free must be declared even if <stdlib.h> is included. */
|
||||
#undef NEED_DECLARATION_FREE
|
||||
|
||||
/* Whether strerror must be declared even if <string.h> is included. */
|
||||
#undef NEED_DECLARATION_STRERROR
|
||||
@TOP@
|
||||
|
||||
/* Define if fpregset_t type is available. */
|
||||
|
@ -9,6 +9,9 @@
|
||||
/* Whether free must be declared even if <stdlib.h> is included. */
|
||||
#undef NEED_DECLARATION_FREE
|
||||
|
||||
/* Whether strerror must be declared even if <string.h> is included. */
|
||||
#undef NEED_DECLARATION_STRERROR
|
||||
|
||||
/* Define if on AIX 3.
|
||||
System headers sometimes define this.
|
||||
We just want to avoid a redefinition error message. */
|
||||
|
501
gdb/configure
vendored
501
gdb/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -200,6 +200,8 @@ BFD_NEED_DECLARATION(malloc)
|
||||
BFD_NEED_DECLARATION(realloc)
|
||||
BFD_NEED_DECLARATION(free)
|
||||
|
||||
BFD_NEED_DECLARATION(strerror)
|
||||
|
||||
dnl See if thread_db library is around for Solaris thread debugging. Note that
|
||||
dnl we must explicitly test for version 1 of the library because version 0
|
||||
dnl (present on Solaris 2.4 or earlier) doesn't have the same API.
|
||||
|
@ -45,10 +45,6 @@ extern char *strstr PARAMS ((const char *, const char *)); /* X3.159-1989 4.11.
|
||||
extern char *strtok PARAMS ((char *, const char *)); /* X3.159-1989 4.11.5.8 */
|
||||
#endif
|
||||
|
||||
#ifndef strerror
|
||||
extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */
|
||||
#endif
|
||||
|
||||
# ifdef HAVE_MEMORY_H
|
||||
# include <memory.h>
|
||||
# else
|
||||
@ -57,6 +53,12 @@ extern void *memcpy();
|
||||
extern void *memmove();
|
||||
extern int memcmp();
|
||||
# endif
|
||||
#endif /* STDC_HEADERS */
|
||||
|
||||
#ifdef NEED_DECLARATION_STRERROR
|
||||
#ifndef strerror
|
||||
extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef strdup
|
||||
|
Loading…
Reference in New Issue
Block a user