Add erand48() to the set of functions supported by our src/port/ library,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jul 2009 17:43:52 +0000 (17:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Jul 2009 17:43:52 +0000 (17:43 +0000)
commit6a28296186590cf6f6b8d9f6eefa7619e0622256
tree8c66fbb9bd71d6ba5fa13e2a6316a210b726eff9
parentbf2c0d5faad33f62d4dc08219fd8ce77725fb01e
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
configure
configure.in
src/include/pg_config.h.in
src/include/port.h
src/port/erand48.c [moved from src/port/rand.c with 73% similarity]
src/tools/msvc/Mkvcbuild.pm