aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@wasabisystems.com>2002-11-24 06:58:20 +0000
committerJason Thorpe <thorpej@wasabisystems.com>2002-11-24 06:58:20 +0000
commitf29c4db1855efd6692bb564f474dc627747b1a80 (patch)
treef1d391293d7b909e3169ae0c4d35057639a2a831
parent4497f2a88d350c6c78d078e01fbca90c49213d71 (diff)
downloadnewlib-f29c4db1855efd6692bb564f474dc627747b1a80.zip
newlib-f29c4db1855efd6692bb564f474dc627747b1a80.tar.gz
newlib-f29c4db1855efd6692bb564f474dc627747b1a80.tar.bz2
* libiberty.h (basename): Add NetBSD to the list.
-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 a490c68..ffe4702 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-23 Simon Burge <simonb@wasabisystems.com>
+
+ * libiberty.h (basename): Add NetBSD to the list.
+
2002-11-22 Daniel Jacobowitz <drow@mvista.com>
* libiberty.h (make_relative_prefix): Add prototype.
diff --git a/include/libiberty.h b/include/libiberty.h
index c02e035..f9916c5 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 (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME)
+#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined(__NetBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) || defined (HAVE_DECL_BASENAME)
extern char *basename PARAMS ((const char *));
#else
extern char *basename ();