aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libiberty/ChangeLog5
-rwxr-xr-xlibiberty/configure2
-rw-r--r--libiberty/configure.in2
3 files changed, 7 insertions, 2 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index e014b50..ce63d84 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -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.
diff --git a/libiberty/configure b/libiberty/configure
index a406d28..84c10ad 100755
--- a/libiberty/configure
+++ b/libiberty/configure
@@ -2082,7 +2082,7 @@ fi
case "${host}" in
- *-*-cygwin*)
+ *-*-cygwin* | *-*-mingw*)
cat >> confdefs.h <<\EOF
#define HAVE_SYS_ERRLIST 1
EOF
diff --git a/libiberty/configure.in b/libiberty/configure.in
index eed222d..fb930e4 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -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)
;;