aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2004-09-14 01:16:22 +0000
committerDJ Delorie <dj@redhat.com>2004-09-14 01:16:22 +0000
commit79fadcb076b30e154a8e6981c9cae4b2bdd6e952 (patch)
treedae6b003a220a2939e9bd57befd6f213f301cb6e /include
parent5979e2265f9fa578cf556889139b7f159ab1291e (diff)
downloadgdb-79fadcb076b30e154a8e6981c9cae4b2bdd6e952.zip
gdb-79fadcb076b30e154a8e6981c9cae4b2bdd6e952.tar.gz
gdb-79fadcb076b30e154a8e6981c9cae4b2bdd6e952.tar.bz2
merge from gcc
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/libiberty.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index d60b634..fa03f7c 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-13 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
+
+ * libiberty.h (basename): Prototype for __MINGW32__.
+
2004-09-13 Paul Brook <paul@codesourcery.com>
* elf/arm.h: Rename RELABS to TARGET1.
diff --git a/include/libiberty.h b/include/libiberty.h
index 4aab80b..c9f480a 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -74,7 +74,7 @@ extern char **dupargv PARAMS ((char **)) ATTRIBUTE_MALLOC;
to find the declaration so provide a fully prototyped one. If it
is 1, we found it so don't provide any declaration at all. */
#if !HAVE_DECL_BASENAME
-#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME)
+#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (__MINGW32__) || defined (HAVE_DECL_BASENAME)
extern char *basename PARAMS ((const char *));
#else
extern char *basename ();