From: Simon Burge Date: Sun, 24 Nov 2002 06:54:38 +0000 (+0000) Subject: * libiberty.h (basename): Add NetBSD to the list. X-Git-Tag: releases/gcc-3.3.0~1663 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f60d9a8a86dee07b7fd51529e734c3e9c514dfb9;p=thirdparty%2Fgcc.git * libiberty.h (basename): Add NetBSD to the list. From-SVN: r59421 --- diff --git a/include/ChangeLog b/include/ChangeLog index ea9575351f56..f6b05bb7e51d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2002-11-23 Simon Burge + + * libiberty.h (basename): Add NetBSD to the list. + 2002-11-22 Daniel Jacobowitz * libiberty.h (make_relative_prefix): Add prototype. diff --git a/include/libiberty.h b/include/libiberty.h index c02e035e3afc..f9916c58c738 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 ();