From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7974 invoked by alias); 2 Aug 2012 20:54:18 -0000 Received: (qmail 7956 invoked by uid 22791); 2 Aug 2012 20:54:17 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED X-Spam-Check-By: sourceware.org Received: from toast.topped-with-meat.com (HELO topped-with-meat.com) (204.197.218.159) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 02 Aug 2012 20:54:05 +0000 Received: by topped-with-meat.com (Postfix, from userid 5281) id E99322C0AC; Thu, 2 Aug 2012 13:54:04 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: "Joseph S. Myers" Cc: , Subject: Re: [PATCH roland/off64_t] clean up wordsize-64 off_t functions In-Reply-To: Joseph S. Myers's message of Thursday, 2 August 2012 20:46:34 +0000 References: <20120802172110.E4A912C0DF@topped-with-meat.com> Message-Id: <20120802205404.E99322C0AC@topped-with-meat.com> Date: Thu, 02 Aug 2012 20:54:00 -0000 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.0 cv=e8d9udV/ c=1 sm=1 a=B1uyGAV3Q-0A:10 a=Z6MIti7PxpgA:10 a=kj9zAlcOel0A:10 a=hOe2yjtxAAAA:8 a=14OXPxybAAAA:8 a=kDYN_qKWb2b_ey8vHQUA:9 a=CjuIK1q_8ugA:10 a=WkljmVdYkabdwxfqvArNOQ==:117 X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-08/txt/msg00021.txt.bz2 > How is this definition *used* by installed headers? Oh, it's not at all. Good point. > If installed headers don't use it (only define it), it could be > conditioned on _LIBC so it's clear it's not a public interface. We don't do that for other cases like _DIRENT_HAVE_*, so I don't see a reason to do it here. > It appears __LP64__ has been defined (if long and pointers are 64-bit and > int is 32-bit) since at least GCC 3.4. Good to know. I'll use that in bits/typesizes.h and that should cover ia64 and powerpc64 just fine. Thanks, Roland