RE: [HACKERS] AW: compilation problem on AIX

From: "Taral" <taral(at)mail(dot)utexas(dot)edu>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <hackers(at)postgreSQL(dot)org>
Subject: RE: [HACKERS] AW: compilation problem on AIX
Date: 1998-10-13 17:36:31
Message-ID: 000701bdf6d0$0427f580$3b291f0a@taral
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Marc had the right idea: a configure test is the only real way to
> discover how getsockname() is declared. A small problem is that
> configure can only detect outright compilation failures, not warnings.
> That's probably good enough, but people with nonstandard definitions
> of getsockname may have to live with looking at warnings.

Just redeclare the function with the parameters you expect. Most compilers
will fail if you redeclare with parameters of different types or different
number of parameters, but silently ignore functionally identical prototype
lines.

Taral

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul A Vixie 1998-10-13 18:27:31 Re: [HACKERS] Re: inet/cidr/bind
Previous Message Oleg Bartunov 1998-10-13 17:31:51 What about LIMIT in SELECT ?