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
6 changed files with 292 additions and 235 deletions
|
@ -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>
|
Thu Apr 23 12:27:43 1998 Philippe De Muyter <phdm@macqel.be>
|
||||||
|
|
||||||
* symfile.c (simple_overlay_update_1): Do not prefix array address
|
* 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. */
|
/* Whether free must be declared even if <stdlib.h> is included. */
|
||||||
#undef NEED_DECLARATION_FREE
|
#undef NEED_DECLARATION_FREE
|
||||||
|
|
||||||
|
/* Whether strerror must be declared even if <string.h> is included. */
|
||||||
|
#undef NEED_DECLARATION_STRERROR
|
||||||
@TOP@
|
@TOP@
|
||||||
|
|
||||||
/* Define if fpregset_t type is available. */
|
/* Define if fpregset_t type is available. */
|
||||||
|
|
|
@ -9,6 +9,9 @@
|
||||||
/* Whether free must be declared even if <stdlib.h> is included. */
|
/* Whether free must be declared even if <stdlib.h> is included. */
|
||||||
#undef NEED_DECLARATION_FREE
|
#undef NEED_DECLARATION_FREE
|
||||||
|
|
||||||
|
/* Whether strerror must be declared even if <string.h> is included. */
|
||||||
|
#undef NEED_DECLARATION_STRERROR
|
||||||
|
|
||||||
/* Define if on AIX 3.
|
/* Define if on AIX 3.
|
||||||
System headers sometimes define this.
|
System headers sometimes define this.
|
||||||
We just want to avoid a redefinition error message. */
|
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(realloc)
|
||||||
BFD_NEED_DECLARATION(free)
|
BFD_NEED_DECLARATION(free)
|
||||||
|
|
||||||
|
BFD_NEED_DECLARATION(strerror)
|
||||||
|
|
||||||
dnl See if thread_db library is around for Solaris thread debugging. Note that
|
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 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.
|
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 */
|
extern char *strtok PARAMS ((char *, const char *)); /* X3.159-1989 4.11.5.8 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef strerror
|
|
||||||
extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
# ifdef HAVE_MEMORY_H
|
# ifdef HAVE_MEMORY_H
|
||||||
# include <memory.h>
|
# include <memory.h>
|
||||||
# else
|
# else
|
||||||
|
@ -57,6 +53,12 @@ extern void *memcpy();
|
||||||
extern void *memmove();
|
extern void *memmove();
|
||||||
extern int memcmp();
|
extern int memcmp();
|
||||||
# endif
|
# endif
|
||||||
|
#endif /* STDC_HEADERS */
|
||||||
|
|
||||||
|
#ifdef NEED_DECLARATION_STRERROR
|
||||||
|
#ifndef strerror
|
||||||
|
extern char *strerror PARAMS ((int)); /* X3.159-1989 4.11.6.2 */
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef strdup
|
#ifndef strdup
|
||||||
|
|
Loading…
Add table
Reference in a new issue