Re: Build problems on Solaris 7 Intel. - Mailing list pgsql-ports

From Peter Eisentraut
Subject Re: Build problems on Solaris 7 Intel.
Date
Msg-id Pine.LNX.4.21.0005292020540.359-100000@localhost.localdomain
Whole thread Raw
In response to Build problems on Solaris 7 Intel.  (Ian Collins <itc1@scigen.co.uk>)
List pgsql-ports
Ian Collins writes:

> When building 7.0 with Sun CC and cc, the build files with
> backend/utils/adt/date.c due to a
> bad defintion of the macro NAN, defined in include/port/solaris_i386.h.
>
> __const is unknown and if removed, __nan is undefined.
>
> One workarround is to remove the macro, but is this safe?

Change `__const' to `const' and let us know if it works.

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-ports by date:

Previous
From: Horák Daniel
Date:
Subject: RE: Problem with connectiong to postmaster (WinNT 4.0 SP6 )
Next
From: Peter Eisentraut
Date:
Subject: Re: Vanilla Solaris 8