diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-09-20 15:34:47 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-09-20 15:34:47 -0700 |
| commit | 5209b192558e4adf0baa0981c463dcff61ec0636 (patch) | |
| tree | b13ff8c70da7023e4042c37429aeedc490c2a8d7 /src/rt/rust_builtin.cpp | |
| parent | 307957710c69f41519f5f22997c629fc5e077771 (diff) | |
| download | rust-5209b192558e4adf0baa0981c463dcff61ec0636.tar.gz rust-5209b192558e4adf0baa0981c463dcff61ec0636.zip | |
rt: Rename rand() to isaac_rand() since the former prevents lots of standard headers from being included
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index ac6ef22d1f8..c2fdce1081c 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -151,7 +151,7 @@ rand_new(rust_task *task) extern "C" CDECL size_t rand_next(rust_task *task, randctx *rctx) { - return rand(rctx); + return isaac_rand(rctx); } extern "C" CDECL void |
