Re: C++ interface build on FreeBSD 4.2 broken? - Mailing list pgsql-hackers

From Patrick Welche
Subject Re: C++ interface build on FreeBSD 4.2 broken?
Date
Msg-id 20010121121147.A2770@quartz.newn.cam.ac.uk
Whole thread Raw
In response to Re: C++ interface build on FreeBSD 4.2 broken?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Sat, Jan 20, 2001 at 08:06:51PM -0500, Tom Lane wrote:
> What I've done to solve the immediate C++ problem is to take the
> declaration of sys_nerr out of c.h entirely, and put it into the
> two C modules that actually need it.  However, I'm still wondering
> whether we should not drop the rangecheck on errno completely.

Probably not useful, but in our <errno.h>, sys_nerr is defined

#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) && \   !defined(_XOPEN_SOURCE)


P


pgsql-hackers by date:

Previous
From: "Steve Howe"
Date:
Subject: This script will crash the connection
Next
From: "Dmitri E. Gurevich"
Date:
Subject: Strange error in PHP/Postgre on RadHat?