apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] Regarding semun definition in proc_mutex.h
Date Thu, 27 Jun 2002 18:40:15 GMT
Jim Jagielski <jim@jaguNET.com> writes:

> Jeff Trawick wrote:
> > 
> > "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <madhusudan_mathihalli@hp.com>
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...

Mime
View raw message