random_state_of_last_resort doesn't rely on HAVE_POSIX
authorAndy Wingo <wingo@pobox.com>
Sun, 24 Feb 2013 11:46:48 +0000 (12:46 +0100)
committerAndy Wingo <wingo@pobox.com>
Sun, 24 Feb 2013 11:46:48 +0000 (12:46 +0100)
commiteaf21539d4afb8df5d1b549215fd397b23004947
tree992f2389c30b7376675b4471be61d8a9ed2f4bf1
parent99d1843e2a06f422cbe349804a67d2972c4dedd9
random_state_of_last_resort doesn't rely on HAVE_POSIX

* libguile/random.c (random_state_of_last_resort): Add the PID as a seed
  only if we have scm_getpid().
libguile/random.c