Fix bug: couldn't compile random.scm on a 32-bit system.
authorChris Hanson <org/chris-hanson/cph>
Mon, 12 Nov 2018 07:01:46 +0000 (23:01 -0800)
committerChris Hanson <org/chris-hanson/cph>
Mon, 12 Nov 2018 07:01:46 +0000 (23:01 -0800)
commitd37fcb8eab5e819042b8b14ba68b2abf4b725e70
tree8f2c41e209db9f1c128f5d09e86627f07cdbfc90
parent5dd0b42b6ea96882ce31a0df9e6420bfc4eea6e9
Fix bug: couldn't compile random.scm on a 32-bit system.

The problem is that it was trying to represent the constant #x55555555 as a
fixnum, which won't work.  I added more selective macro-expansion to enable only
those parts of the code relevant for the different word sizes.
src/runtime/random.scm