Re: problems with configure - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: problems with configure
Date
Msg-id Pine.LNX.4.21.0011082253390.1138-100000@peter.localdomain
Whole thread Raw
In response to Re: problems with configure  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: problems with configure
List pgsql-hackers
Tom Lane writes:

> Not sure what to do about this.  It will clearly not do to define
> ACCEPT_TYPE_ARG3 as void.  Perhaps we need a special case for
> Solaris 7: if we detect that accept() is declared with "void *",
> assume that socklen_t is the thing to use.  Peter, any thoughts?

Perhaps we could, in case "void *" is discovered, run a similar deal with
bind() or setsockopt(), i.e., some socket function that takes a
non-pointer socklen_t (or whatever), in order to find out the true nature
of what's behind the "void *".

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: "Martin A. Marques"
Date:
Subject: Re: problems with configure
Next
From: Tom Lane
Date:
Subject: Re: Proposal for DROP TABLE rollback mechanism