diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2003-02-28 19:05:26 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2003-02-28 19:05:26 +0000 |
commit | 35501efebdd4b4cab20193bc19edcf00d056f58f (patch) | |
tree | 13558948073c948f1438c5758cff6b0c965e868c | |
parent | 8f7ee471858fbf9015f947a723d588f7b50495d5 (diff) | |
download | gcc-35501efebdd4b4cab20193bc19edcf00d056f58f.tar.gz |
netbsd.h: Update copyright years.
* config/netbsd.h: Update copyright years.
(NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if
-pthread is specified on the command line.
From-SVN: r63573
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/netbsd.h | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 806351fd44f..66db9aea48d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-02-28 Jason Thorpe <thorpej@wasabisystems.com> + + * config/netbsd.h: Update copyright years. + (NETBSD_CPP_SPEC): Define _REENTRANT and _PTHREADS if + -pthread is specified on the command line. + 2003-02-28 Dale Johannesen <dalej@apple.com> * loop.c (struct movable): Add insert_temp, shrink savemode. diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index 43ff80ae686..04413899621 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -1,5 +1,5 @@ /* Base configuration file for all NetBSD targets. - Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. This file is part of GNU CC. @@ -38,7 +38,9 @@ Boston, MA 02111-1307, USA. */ while (0) /* CPP_SPEC parts common to all NetBSD targets. */ -#define NETBSD_CPP_SPEC "%{posix:-D_POSIX_SOURCE}" +#define NETBSD_CPP_SPEC \ + "%{posix:-D_POSIX_SOURCE} \ + %{pthread:-D_REENTRANT -D_PTHREADS}" /* NETBSD_NATIVE is defined when gcc is integrated into the NetBSD source tree so it can be configured appropriately without using |