summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2002-01-31 19:01:15 +0000
committerDJ Delorie <dj@delorie.com>2002-01-31 19:01:15 +0000
commit42b70ed26a752c045834f2c802215dc9c9057001 (patch)
treed9df53f1a1b30f5934a16fe83f9696ec755443a2 /libiberty
parent8d277ebfcf52a7c06ece8c8f1434fd5000416766 (diff)
downloadgdb-42b70ed26a752c045834f2c802215dc9c9057001.tar.gz
merge from gcc
Diffstat (limited to 'libiberty')
-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 e014b50a9ca..ce63d84c78d 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 a406d28db62..84c10add96e 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 eed222d35d1..fb930e428a9 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)
;;