sim: nrun: add local strsignal prototype

While libiberty provides a definition for this for systems that lack
the function (e.g. Windows), it doesn't provide a prototype.  So add
our own local copy in the one file that uses the func.
This commit is contained in:
Mike Frysinger
2021-05-01 16:30:59 -04:00
parent 2a83fd8f48
commit fe34861780
97 changed files with 386 additions and 62 deletions

View File

@@ -1,3 +1,7 @@
2021-05-01 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.
2021-04-26 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.

View File

@@ -73,6 +73,9 @@
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the `strsignal' function. */
#undef HAVE_STRSIGNAL
/* Define to 1 if `st_atime' is a member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_ATIME

7
sim/erc32/configure vendored
View File

@@ -2301,6 +2301,7 @@ as_fn_append ac_func_list " mmap"
as_fn_append ac_func_list " munmap"
as_fn_append ac_func_list " posix_fallocate"
as_fn_append ac_func_list " sigaction"
as_fn_append ac_func_list " strsignal"
as_fn_append ac_func_list " time"
as_fn_append ac_func_list " truncate"
# Check that the precious variables saved in the cache have kept the same
@@ -3940,6 +3941,8 @@ done
@@ -11182,7 +11185,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11185 "configure"
#line 11188 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11288,7 +11291,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11291 "configure"
#line 11294 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H