mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
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 |
||
---|---|---|
.. | ||
constructors.scm | ||
rand.c | ||
test.sld |