summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-14 01:12:49 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2004-09-14 01:12:49 +0000
commitc480709dc4d2704a1ebb36439cd43c5f793a9070 (patch)
treebb2f726cda16ef33fa647ebe047907f7a6dd88db /include
parent224289f80bfd53801d14d738740945cab75ce578 (diff)
downloadgcc-c480709dc4d2704a1ebb36439cd43c5f793a9070.tar.gz
* libiberty.h (basename): Prototype for __MINGW32__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87475 138bc75d-0d04-0410-961f-82ee72b054a4
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 19d2f5099e4..6c909410038 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-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ansidecl.h (ATTRIBUTE_SENTINEL): Define.
diff --git a/include/libiberty.h b/include/libiberty.h
index 4aab80b2150..c9f480aaf69 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 ();