On Fri, Dec 09, 2005 at 03:19:14AM -0500, Jakub Jelinek wrote: > On Fri, Dec 09, 2005 at 08:12:30AM +0000, Joe Orton wrote: > > > 2) Wordsize specific #defines and similar in a header file. > > > > Not possible without massive deviation from upstream. > > Unless you do it cleanly and push the changes upstream? > glibc does this in the upstream headers, so why couldn't other > packages do that as well? > > If the only differences are wordsize related, you can e.g. > portably #include <limits.h> and do: The differences are generally because the entire header is autoconf-generated so really the whole thing would have to be renamed for each platform and an #if/#include stub put in its place. This is feasible but ugly and upstream would have little interest in maintaining such hacks (it's not as if I've ever heard any user cry out for this "problem" to be solved). But without a solution to the -config script issue there's little point in worrying about the headers. joe