chibi-scheme/lib/srfi/27
Vitaliy Mysak f449bd157d fix compilation under std=c89
There were few things that prevented successful compilation
using c89 standard. (and other c* standards in case of gcc).
Fix them in this small patch.

Changes in 27/rand.c:
- Use __GNU_SOURCE__ instead of __GNU_LIBRARY__
  or else any of -std=c* options don't work with gcc
- Add a check before using rand_r() as suggested in rand_r(3)
- Move _WIN_32 definitions to "else" branch because it uses the most portable version
2020-05-13 11:12:02 +02:00
..
constructors.scm adding type checks for random-source-make-* 2017-01-14 15:08:14 +09:00
rand.c fix compilation under std=c89 2020-05-13 11:12:02 +02:00
test.sld random-integer should check for positive bounds 2019-09-03 19:56:59 +08:00