From: Neil Booth Date: Sun, 4 Jul 2004 21:28:07 +0000 (+0000) Subject: netbsd.h (NETBSD_OS_CPP_BUILTINS_COMMON): Define __unix__ and assert system is bsd. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0188c2183ac76a92e8095dcb7736c7877942cf5b;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c0ca7e78072..b4092552905 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-04 Neil Booth + + * config/netbsd.h (NETBSD_OS_CPP_BUILTINS_COMMON): Define __unix__ + and assert system is bsd. + 2004-07-04 Richard Sandiford * 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 f27e8b7630e..e3eb0d1ffa8 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"); \ } \