From owner-svn-src-head@FreeBSD.ORG Sat Apr 19 12:38:02 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5A5D187B; Sat, 19 Apr 2014 12:38:02 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 475721E80; Sat, 19 Apr 2014 12:38:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3JCc2Dl039156; Sat, 19 Apr 2014 12:38:02 GMT (envelope-from jilles@svn.freebsd.org) Received: (from jilles@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3JCc2Kr039155; Sat, 19 Apr 2014 12:38:02 GMT (envelope-from jilles@svn.freebsd.org) Message-Id: <201404191238.s3JCc2Kr039155@svn.freebsd.org> From: Jilles Tjoelker Date: Sat, 19 Apr 2014 12:38:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264676 - head/include X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 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: Sat, 19 Apr 2014 12:38:02 -0000 Author: jilles Date: Sat Apr 19 12:38:01 2014 New Revision: 264676 URL: http://svnweb.freebsd.org/changeset/base/264676 Log: langinfo.h: Hide YESSTR and NOSTR in strict POSIX mode. YESSTR and NOSTR are obsolete and are only in old SUS. Modified: head/include/langinfo.h Modified: head/include/langinfo.h ============================================================================== --- head/include/langinfo.h Sat Apr 19 06:32:51 2014 (r264675) +++ head/include/langinfo.h Sat Apr 19 12:38:01 2014 (r264676) @@ -103,7 +103,7 @@ typedef __nl_item nl_item; #define YESEXPR 52 /* affirmative response expression */ #define NOEXPR 53 /* negative response expression */ -#if __BSD_VISIBLE || __XSI_VISIBLE <= 500 +#if __BSD_VISIBLE || (__XSI_VISIBLE && __XSI_VISIBLE <= 500) #define YESSTR 54 /* affirmative response for yes/no queries */ #define NOSTR 55 /* negative response for yes/no queries */ #endif