OSDN Git Service

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)
commitc43feefa806c81d68115ed03a7f723720cefad31
tree6fd7b6a6b70656c57f483c2e361f8ec73185358d
parentfe1cc1e730cf5bdf4576aeab7fafd1da4b41285b
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 71% similarity]
src/tools/msvc/Mkvcbuild.pm