Import rand using capi
authorReid Barton <rwbarton@gmail.com>
Thu, 9 Apr 2015 15:31:20 +0000 (11:31 -0400)
committerReid Barton <rwbarton@gmail.com>
Thu, 9 Apr 2015 15:31:20 +0000 (11:31 -0400)
commitf536d89603bb49dea192b47f54416dc88da980af
tree5bb14ea4821d3f0c8b241ab38cdbaf9125b36817
parent6b96eeb72a17e35c59830952732170d29d99a598
Import rand using capi

Summary: Android has no rand symbol (it's a static inline function there).

Test Plan: ghc-android builds

Reviewers: trofi, austin, hvr

Reviewed By: hvr

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D826

GHC Trac Issues: #10274
libraries/base/System/IO.hs