configure.in: Treat mingw the same as cywin wrt HAVE_SYS_ERRLIST.

* gcc/libiberty/configure.in: Treat mingw the same as cywin
wrt HAVE_SYS_ERRLIST.

From-SVN: r49371
This commit is contained in:
Adam Megacz 2002-01-31 18:19:39 +00:00 committed by DJ Delorie
parent 100de59d61
commit 46af757b06
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-01-31 Adam Megacz <adam@xwt.org>
* gcc/libiberty/configure.in: Treat mingw the same as cywin
wrt HAVE_SYS_ERRLIST.
2002-01-30 Phil Edwards <pme@gcc.gnu.org>
* cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.

2
libiberty/configure vendored
View file

@ -2082,7 +2082,7 @@ fi
case "${host}" in
*-*-cygwin*)
*-*-cygwin* | *-*-mingw*)
cat >> confdefs.h <<\EOF
#define HAVE_SYS_ERRLIST 1
EOF

View file

@ -249,7 +249,7 @@ fi
AC_SUBST(CHECK)
case "${host}" in
*-*-cygwin*)
*-*-cygwin* | *-*-mingw*)
AC_DEFINE_NOAUTOHEADER(HAVE_SYS_ERRLIST)
AC_DEFINE_NOAUTOHEADER(HAVE_SYS_NERR)
;;