Add erand48() to the set of functions supported by our src/port/ library,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c43feefa806c81d68115ed03a7f723720cefad31
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-07-16T17:43:52Z
Releases: 9.0.0
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

Files

PathChange+/−
configure modified +2 −7
configure.in modified +2 −3
src/include/pg_config.h.in modified +3 −0
src/include/port.h modified +8 −5
src/port/erand48.c (from src/port/rand.c) renamed +31 −13
src/tools/msvc/Mkvcbuild.pm modified +2 −2