On Tue, 15 Feb 2005, Mike Meredith wrote:
> Well there's an easy answer to that problem ... just let me know if you want
> an account on an AIX system.
Thanks for the offer, but I'm not sure it is actually worth it, because
all I would ever do is check compilation every now and again, and it
would be better if some real AIX user did that on a candidate release or
snapshot.
> > Why doesn't putting something in os-AIX.h work?
>
> Because os.h is included before any os header files, any definition of
> SOCKLEN_T will conflict with that required by the os. SOCKLEN_T is used by
> two include files in AIX ... /usr/include/netinet/in.h and
> /usr/include/sys/socket.h (at least). The result is that defining SOCKLEN_T
> in os-AIX.h results in screenfuls of somewhat inscrutable errors relating to
> the os include files.
Sigh.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book