summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2008-09-01 22:22:44 +0000
committerobrien <obrien@FreeBSD.org>2008-09-01 22:22:44 +0000
commit188674d6caab2e4ab108c0bf07a4cc26aae1f038 (patch)
tree7108988351af47527adbf08e5749c52c2b33759b /contrib
parentac94f4b6be181cb7361a339b06fc9c551b6200a2 (diff)
downloadFreeBSD-src-188674d6caab2e4ab108c0bf07a4cc26aae1f038.zip
FreeBSD-src-188674d6caab2e4ab108c0bf07a4cc26aae1f038.tar.gz
Add __unix__. Tweak __KPRINTF_ATTRIBUTE__ while I'm here.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/config/freebsd-spec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gcc/config/freebsd-spec.h b/contrib/gcc/config/freebsd-spec.h
index cc9d042..a58788a 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"); \
OpenPOWER on IntegriCloud