Date: Thu, 4 Oct 2012 08:53:05 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r241190 - head/sys/sys Message-ID: <201210040853.q948r5TN010762@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tijl Date: Thu Oct 4 08:53:05 2012 New Revision: 241190 URL: http://svn.freebsd.org/changeset/base/241190 Log: Define clang feature test macro __has_extension. It's used in stdatomic.h. Modified: head/sys/sys/cdefs.h Modified: head/sys/sys/cdefs.h ============================================================================== --- head/sys/sys/cdefs.h Thu Oct 4 08:49:41 2012 (r241189) +++ head/sys/sys/cdefs.h Thu Oct 4 08:53:05 2012 (r241190) @@ -675,6 +675,9 @@ #endif #endif +#ifndef __has_extension +#define __has_extension __has_feature +#endif #ifndef __has_feature #define __has_feature(x) 0 #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210040853.q948r5TN010762>