Skip to content

Commit

Permalink
Merge pull request froydnj#22 from lueo/master
Browse files Browse the repository at this point in the history
Fix a bug on win32
  • Loading branch information
froydnj committed Jul 8, 2012
2 parents 6fdafa1 + 99f5fe9 commit d94fd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prng/prng.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ replacement for COMMON-LISP:RANDOM."
(assert (>= (read-sequence seq seed-file) num-bytes))
seq))
;; FIXME: this is _untested_!
#+(and win32 sb-dynamic-core)(sb!win32:crypt-gen-random num-bytes)
#+(and win32 sb-dynamic-core)(sb-win32:crypt-gen-random num-bytes)
#-(or unix (and win32 sb-dynamic-core))(error "OS-RANDOM-SEED is not supported on your platform."))

(defun read-os-random-seed (source &optional (prng *prng*))
Expand Down

0 comments on commit d94fd03

Please sign in to comment.