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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user