Richard Henderson <richard.hender...@linaro.org> writes:

> On 3/12/19 11:41 PM, no-re...@patchew.org wrote:
>> time make docker-test-mingw@fedora SHOW_ENV=1 J=14 NETWORK=1
>> === TEST SCRIPT END ===
>> 
>>   CC      hw/acpi/trace.o
>>   CC      hw/alpha/trace.o
>> /tmp/qemu-test/src/util/random.c: In function 'do_jrand48':
>> /tmp/qemu-test/src/util/random.c:41:15: error: implicit declaration of 
>> function 'jrand48'; did you mean 'do_jrand48'? 
>> [-Werror=implicit-function-declaration]
>>          val = jrand48(xsubi);
>
> Hmm, no jrand48 in mingw.  I assumed it would be there because of POSIX.
> Perhaps I should just bite the bullet and inline my own DRNG...

Have you considered GLib's?  Mersenne Twister under the hood.

https://developer.gnome.org/glib/stable/glib-Random-Numbers.html

Reply via email to