From: Aaron W. LaFramboise Date: Tue, 14 Sep 2004 01:12:49 +0000 (-0600) Subject: * libiberty.h (basename): Prototype for __MINGW32__. X-Git-Tag: releases/gcc-4.0.0~4962 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff06bf4bd035b716a35080592d78f42e5b57452c;p=thirdparty%2Fgcc.git * libiberty.h (basename): Prototype for __MINGW32__. From-SVN: r87475 --- diff --git a/include/ChangeLog b/include/ChangeLog index 19d2f5099e43..6c9094100386 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-09-13 Aaron W. LaFramboise + + * libiberty.h (basename): Prototype for __MINGW32__. + 2004-09-04 Kaveh R. Ghazi * ansidecl.h (ATTRIBUTE_SENTINEL): Define. diff --git a/include/libiberty.h b/include/libiberty.h index 4aab80b21507..c9f480aaf695 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 ();