OSDN Git Service

* libiberty.h (basename): Add NetBSD to the list.
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Nov 2002 06:54:38 +0000 (06:54 +0000)
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Nov 2002 06:54:38 +0000 (06:54 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59421 138bc75d-0d04-0410-961f-82ee72b054a4

include/ChangeLog
include/libiberty.h

index ea95753..f6b05bb 100644 (file)
@@ -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.
index c02e035..f9916c5 100644 (file)
@@ -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 ();