aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/netbsd.h
diff options
context:
space:
mode:
authorNeil Booth <neil@duron.akihabara.co.uk>2004-07-04 21:28:07 +0000
committerNeil Booth <neil@gcc.gnu.org>2004-07-04 21:28:07 +0000
commit0188c2183ac76a92e8095dcb7736c7877942cf5b (patch)
tree46eacd3b58b79c7e24123fe0a158761a97006ada /gcc/config/netbsd.h
parentb3583df69378347e3de15e7cc9e2cfc9b10e0712 (diff)
downloadgcc-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
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r--gcc/config/netbsd.h2
1 files changed, 2 insertions, 0 deletions
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"); \
} \