patch by Yaron: Uses rand_s() from stdlib.h (when building for Windows)

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@192325 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2013-10-09 21:49:03 +00:00
parent dab89a1412
commit b8dd5caf5a
2 changed files with 28 additions and 0 deletions

View File

@@ -3475,7 +3475,9 @@ typedef shuffle_order_engine<minstd_rand0, 256> knuth_b;
class _LIBCPP_TYPE_VIS random_device
{
#if !defined(_WIN32)
int __f_;
#endif // defined(_WIN32)
public:
// types
typedef unsigned result_type;