Add __unix__. Tweak __KPRINTF_ATTRIBUTE__ while I'm here.

This commit is contained in:
David E. O'Brien 2008-09-01 22:22:44 +00:00
parent 0eb7cf4d5f
commit 1b34d5982b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182644

View File

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