[OE-core] [PATCH 3/3] apr: fix incorrect size of pid_t

Paul Eggleton paul.eggleton at linux.intel.com
Fri Jun 29 10:50:33 UTC 2012


On Thursday 28 June 2012 19:47:31 Khem Raj wrote:
> I think this may not be correct thing for 64bit targets. You are
> better of adding this to appropriate site files.

pid_t is apparently always an int on Linux and our siteinfo files state that 
ac_cv_sizeof_int is 4 for every target. Nevertheless, if we see the need to 
define ac_cv_sizeof_int even though the value isn't currently different 
anywhere, it seems at least consistent to set ac_cv_sizeof_pid_t there as 
well.

However, I can't help feeling that these files are a bit of a mess and it's not 
totally clear to me where I should be putting this value. Should it go in 
common-linux? Or do I have to add it to the specific site file for every arch?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list