diff options
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index 65f9402..499e467 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -177,6 +177,12 @@ if test -n "${with_target_subdir}"; then # Of the functions in $checkfuncs, newlib only has strerror. AC_DEFINE_NOAUTOHEADER(HAVE_STRERROR) + case "${host}" in + *-*-cygwin*) + AC_DEFINE(HAVE_SYS_ERRLIST) + ;; + esac + setobjs=yes fi |