aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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 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"); \
} \