summaryrefslogtreecommitdiff
path: root/include/libiberty.h
diff options
context:
space:
mode:
authorJeff Law <law@gcc.gnu.org>1999-04-06 22:24:20 -0600
committerJeff Law <law@gcc.gnu.org>1999-04-06 22:24:20 -0600
commit64f62168ef931afaa0a57fadf9b4410cadcbe249 (patch)
tree6e6cc6a956154ca32ba5d6f69e0eeaf4c817e7e2 /include/libiberty.h
parent9c0225173d2978616b1bc9c18f2be39f054a4b98 (diff)
downloadgcc-64f62168ef931afaa0a57fadf9b4410cadcbe249.tar.gz
Sync
* Add symcat file. * libiberty.h expose basename prototype on more systems From-SVN: r26238
Diffstat (limited to 'include/libiberty.h')
-rw-r--r--include/libiberty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libiberty.h b/include/libiberty.h
index 86fec2dd656..cf313662ef4 100644
--- a/include/libiberty.h
+++ b/include/libiberty.h
@@ -36,7 +36,7 @@ extern char **dupargv PARAMS ((char **));
across different systems, sometimes as "char *" and sometimes as
"const char *" */
-#if defined(__GNU_LIBRARY__ ) || defined (__linux__)
+#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__)
extern char *basename PARAMS ((const char *));
#else
extern char *basename ();