[PATCH] libcxx random_device for Win32

Yaron Keren yaron.keren at gmail.com
Tue Oct 8 01:00:43 PDT 2013


Uses rand_s() from stdlib.h (code in MSVCRT). The patch also adds a #define
_CRT_RAND_S to __config since it must be defined before including stdlib.h
to expose rand_s().

Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131008/5d69244f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcxx-rands.diff
Type: application/octet-stream
Size: 1241 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131008/5d69244f/attachment.obj>


More information about the cfe-commits mailing list