From owner-svn-src-stable-9@FreeBSD.ORG Tue Nov 20 11:47:23 2012 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 330818AD; Tue, 20 Nov 2012 11:47:23 +0000 (UTC) (envelope-from demon@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 0C6618FC08; Tue, 20 Nov 2012 11:47:23 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAKBlM1v010777; Tue, 20 Nov 2012 11:47:22 GMT (envelope-from demon@svn.freebsd.org) Received: (from demon@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAKBlMFq010776; Tue, 20 Nov 2012 11:47:22 GMT (envelope-from demon@svn.freebsd.org) Message-Id: <201211201147.qAKBlMFq010776@svn.freebsd.org> From: Dmitry Sivachenko Date: Tue, 20 Nov 2012 11:47:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r243331 - stable/9/include/xlocale X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Nov 2012 11:47:23 -0000 Author: demon (ports committer) Date: Tue Nov 20 11:47:22 2012 New Revision: 243331 URL: http://svnweb.freebsd.org/changeset/base/243331 Log: MFC r243032: Use defined() to test macro definitions. Approved by: theraven Modified: stable/9/include/xlocale/_ctype.h Modified: stable/9/include/xlocale/_ctype.h ============================================================================== --- stable/9/include/xlocale/_ctype.h Tue Nov 20 10:59:41 2012 (r243330) +++ stable/9/include/xlocale/_ctype.h Tue Nov 20 11:47:22 2012 (r243331) @@ -53,7 +53,7 @@ _RuneLocale *__runes_for_locale(locale_t #endif #ifndef _XLOCALE_INLINE -#if __GNUC__ && !__GNUC_STDC_INLINE__ +#if defined(__GNUC__) && !defined(__GNUC_STDC_INLINE__) /* GNU89 inline has nonstandard semantics. */ #define _XLOCALE_INLINE extern __inline #else