[PATCH] libcxx random_device for Win32

Kim Gräsman kim.grasman at gmail.com
Tue Oct 8 13:10:26 PDT 2013


Hi Yaron,

On Tue, Oct 8, 2013 at 10:04 PM, Yaron Keren <yaron.keren at gmail.com> wrote:
>
> MingW does use MSVCRT unlike Cygwin that provides independent library, so it
> provides rand_s() as well. For MingW-builds you can find rand_s() prototype
> in:
>
> c:\Program Files
> (x86)\mingw-builds\x32-4.8.1-win32-dwarf-rev5\mingw32\i686-w64-mingw32\include\stdlib.h
>
> The import libraries libmsvcr*.a are in the lib directory.

Huh, I was under the impression that MinGW used a variant of
libstdc++, sorry for the noise!

- Kim



More information about the cfe-commits mailing list