Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 51041 invoked by uid 500); 27 Jun 2002 18:32:38 -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 51029 invoked from network); 27 Jun 2002 18:32:37 -0000 X-Authentication-Warning: rdu88-251-253.nc.rr.com: trawick set sender to trawick@attglobal.net using -f Sender: trawick@rdu88-251-253.nc.rr.com To: jim@jaguNET.com Cc: madhusudan_mathihalli@hp.com ("MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)"), dev@apr.apache.org ('dev@apr.apache.org') Subject: Re: [PATCH] Regarding semun definition in proc_mutex.h References: <200206271756.NAA15124@devsys.jaguNET.com> From: Jeff Trawick Date: 27 Jun 2002 14:40:15 -0400 In-Reply-To: <200206271756.NAA15124@devsys.jaguNET.com> Message-ID: Lines: 29 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N Jim Jagielski writes: > Jeff Trawick wrote: > > > > "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" writes: > > > > > On platforms where the semun union is not available, the APR defines the > > > semun structure - but I believe the first parameter should be a "int val" > > > and not "long val". I verified it on HP-UX and Linux (both 32-bit and 64-bit > > > systems). > > > > > > BTW, we were able to get Apache (2.0.39) to work on the HP-UX / Itanium > > > architecture without any other problems. Great work !!. > > > > So I guess sizeof(long) is 8 bytes on 64-bit HP-UX? sizeof(long) is > > still 4 on 64-bit AIX. > > > > > > Can we automate this during configure time? I don't think there is any configure-time check necessary. If you'll follow the references in my other post, you'll see that it should always be int (32-bit or 64-bit). It just hasn't broken until now since long is usually 4 bytes, even on some 64-bit. -- Jeff Trawick | trawick@attglobal.net Born in Roswell... married an alien...