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"); \