pgsql: Add erand48() to the set of functions supported by our src/port/

Started by Tom Laneabout 17 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Log Message:
-----------
Add erand48() to the set of functions supported by our src/port/ library,
and extend configure to test for it properly instead of hard-wiring
an assumption that everybody but Windows has the rand48 functions.
(We do cheat to the extent of assuming that probing for erand48 will do
for the entire rand48 family.)

erand48() is unused as of this commit, but a followon patch will cause
GEQO to depend on it.

Andres Freund, additional hacking by Tom

Modified Files:
--------------
pgsql:
configure (r1.648 -> r1.649)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.648&r2=1.649)
configure.in (r1.604 -> r1.605)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.604&r2=1.605)
pgsql/src/include:
pg_config.h.in (r1.140 -> r1.141)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.in?r1=1.140&r2=1.141)
port.h (r1.125 -> r1.126)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/port.h?r1=1.125&r2=1.126)
pgsql/src/tools/msvc:
Mkvcbuild.pm (r1.40 -> r1.41)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/msvc/Mkvcbuild.pm?r1=1.40&r2=1.41)

Added Files:
-----------
pgsql/src/port:
erand48.c (r1.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/erand48.c?rev=1.1&content-type=text/x-cvsweb-markup)

Removed Files:
-------------
pgsql/src/port:
rand.c
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/rand.c)