summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-04 21:28:07 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-04 21:28:07 +0000
commit6d875124a5d9b17e506fe1ebfb182f7ec4c46ce7 (patch)
tree46eacd3b58b79c7e24123fe0a158761a97006ada /gcc
parentf350ce2a0013fd3bdf455f085471813210446383 (diff)
downloadgcc-6d875124a5d9b17e506fe1ebfb182f7ec4c46ce7.tar.gz
* config/netbsd.h (NETBSD_OS_CPP_BUILTINS_COMMON): Define __unix__
and assert system is bsd. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84096 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/netbsd.h2
2 files changed, 7 insertions, 0 deletions
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 <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 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"); \
} \