"Martin A. Marques" <[EMAIL PROTECTED]> writes:
>> Hmm ... is it possible that his compiler distinguishes between
>> "extern int foo(...)" and "extern foo(...)" ?  Why don't we
>> have the return type there, anyway?

> If it's of any help, I'm on Solaris 7, SPARC, gcc-2.95.2, latest
> Postgres CVS.  Another question would be, why didn't I have problems
> of this type when I compiled PostgreSQL 7.0.2 on Solaris 8, with the
> same version of gcc?

Different header files, likely.  I'm starting to wonder if Solaris 7
has some header-file dependency for <sys/socket.h> beyond the one that
the test is allowing for (<sys/types.h>).

BTW, does 'Psocklen_t' equate to just 'socklen_t *', or is there
something strange hidden there?

                        regards, tom lane

Reply via email to