From owner-svn-src-head@FreeBSD.ORG Thu Oct 4 08:53:06 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 155C01065672; Thu, 4 Oct 2012 08:53:06 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E203F8FC4B; Thu, 4 Oct 2012 08:53:05 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q948r5vY010764; Thu, 4 Oct 2012 08:53:05 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q948r5TN010762; Thu, 4 Oct 2012 08:53:05 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201210040853.q948r5TN010762@svn.freebsd.org> From: Tijl Coosemans Date: Thu, 4 Oct 2012 08:53:05 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r241190 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2012 08:53:06 -0000 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