netbsd.h (NETBSD_OS_CPP_BUILTINS_COMMON): Define __unix__ and assert system is bsd.
authorNeil Booth <neil@duron.akihabara.co.uk>
Sun, 4 Jul 2004 21:28:07 +0000 (21:28 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sun, 4 Jul 2004 21:28:07 +0000 (21:28 +0000)
* config/netbsd.h (NETBSD_OS_CPP_BUILTINS_COMMON): Define __unix__
and assert system is bsd.

From-SVN: r84096

gcc/ChangeLog
gcc/config/netbsd.h

index c0ca7e780721e9bc7a38a7a0b8bb9d117f56fcf8..b40925529059250e5ef07d768a7731f49f5a56e8 100644 (file)
@@ -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.
index f27e8b7630eab4f2cca89bfdbc2b3ef362e2d6a2..e3eb0d1ffa800480428f37ec3fdc8731f87fd8a3 100644 (file)
@@ -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");                \
     }                                          \