From 1b34d5982bbdfe720e2df9b4f0c75fd489077444 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Mon, 1 Sep 2008 22:22:44 +0000 Subject: [PATCH] Add __unix__. Tweak __KPRINTF_ATTRIBUTE__ while I'm here. --- contrib/gcc/config/freebsd-spec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/gcc/config/freebsd-spec.h b/contrib/gcc/config/freebsd-spec.h index cc9d0423d98..a58788ad3c9 100644 --- a/contrib/gcc/config/freebsd-spec.h +++ b/contrib/gcc/config/freebsd-spec.h @@ -55,7 +55,8 @@ Boston, MA 02110-1301, USA. */ { \ builtin_define_with_int_value ("__FreeBSD__", FBSD_MAJOR); \ builtin_define_std ("unix"); \ - builtin_define ("__KPRINTF_ATTRIBUTE__"); \ + builtin_define_std ("__unix__"); \ + builtin_define ("__KPRINTF_ATTRIBUTE__"); \ builtin_assert ("system=unix"); \ builtin_assert ("system=bsd"); \ builtin_assert ("system=FreeBSD"); \