diff options
author | Neil Booth <neil@duron.akihabara.co.uk> | 2004-07-04 21:28:07 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2004-07-04 21:28:07 +0000 |
commit | 0188c2183ac76a92e8095dcb7736c7877942cf5b (patch) | |
tree | 46eacd3b58b79c7e24123fe0a158761a97006ada | |
parent | b3583df69378347e3de15e7cc9e2cfc9b10e0712 (diff) | |
download | gcc-0188c2183ac76a92e8095dcb7736c7877942cf5b.zip gcc-0188c2183ac76a92e8095dcb7736c7877942cf5b.tar.gz gcc-0188c2183ac76a92e8095dcb7736c7877942cf5b.tar.bz2 |
netbsd.h (NETBSD_OS_CPP_BUILTINS_COMMON): Define __unix__ and assert system is bsd.
* config/netbsd.h (NETBSD_OS_CPP_BUILTINS_COMMON): Define __unix__
and assert system is bsd.
From-SVN: r84096
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/netbsd.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0ca7e7..b409255 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-04 Neil Booth <neil@duron.akihabara.co.uk> + + * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_COMMON): Define __unix__ + and assert system is bsd. + 2004-07-04 Richard Sandiford <rsandifo@redhat.com> * config/mips/mips.h (MASK_DEBUG_C, TARGET_DEBUG_C_MODE): Delete. diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h index f27e8b7..e3eb0d1 100644 --- a/gcc/config/netbsd.h +++ b/gcc/config/netbsd.h @@ -24,6 +24,8 @@ Boston, MA 02111-1307, USA. */ do \ { \ builtin_define ("__NetBSD__"); \ + builtin_define ("__unix__"); \ + builtin_assert ("system=bsd"); \ builtin_assert ("system=unix"); \ builtin_assert ("system=NetBSD"); \ } \ |