aboutsummaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2002-01-31 19:01:15 +0000
committerDJ Delorie <dj@redhat.com>2002-01-31 19:01:15 +0000
commitbef8b55d3923dbc39a28be93a7bd982d22ec38ff (patch)
tree28a0245fcb3e0a2d349ba2041fd0e0227591f164 /libiberty
parent012884d6061abcf3d1b99f71051426401a15423f (diff)
downloadgdb-bef8b55d3923dbc39a28be93a7bd982d22ec38ff.zip
gdb-bef8b55d3923dbc39a28be93a7bd982d22ec38ff.tar.gz
gdb-bef8b55d3923dbc39a28be93a7bd982d22ec38ff.tar.bz2
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 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)
;;