Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 9709 invoked by uid 500); 27 Jun 2002 17:53:13 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 9690 invoked from network); 27 Jun 2002 17:53:12 -0000 Date: Thu, 27 Jun 2002 13:48:37 -0400 (EDT) From: Cliff Woolley X-X-Sender: root@deepthought.cs.virginia.edu To: Jeff Trawick cc: "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" , "'dev@apr.apache.org'" Subject: Re: [PATCH] Regarding semun definition in proc_mutex.h In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N On 27 Jun 2002, Jeff Trawick wrote: > So I guess sizeof(long) is 8 bytes on 64-bit HP-UX? sizeof(long) is > still 4 on 64-bit AIX. ---------------------------- $ uname -a HP-UX nova126 B.11.00 U 9000/785 2010844465 unlimited-user license $ cat test.c #include int main() { printf("%d\n",sizeof(long)); } $ ./test 4 ---------------------------- $ uname -a HP-UX nova189 B.11.20 U ia64 2252765325 unlimited-user license $ cat test.c #include int main() { printf("%d\n",sizeof(long)); } $ ./test 4 ---------------------------- So, nope. Or maybe you have to compile in 64-bit mode? How does one do that with HP-UX's cc? --Cliff