Jim Jagielski <[EMAIL PROTECTED]> writes: > Jeff Trawick wrote: > > > > "MATHIHALLI,MADHUSUDAN (HP-Cupertino,ex1)" <[EMAIL PROTECTED]> 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 | [EMAIL PROTECTED] Born in Roswell... married an alien...
