[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: random module linking problem on mingw ?
From: |
Assaf Gordon |
Subject: |
Re: random module linking problem on mingw ? |
Date: |
Sat, 15 Dec 2018 01:13:42 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 |
Hello,
On 2018-12-14 3:36 p.m., Paul Eggert wrote:
This does not ring a bell with me. Presumably the "# define __random_r
random_r" business in lib/random_r.c and lib/stdlib.in.h also need to be
done for random and srandom in lib/random.c and lib/stdlib.in.h?
Thanks for the hint.
The attached patch works for me on mingw,
and doesn't seem to have ill effects on other systems.
However I do not know if this is sufficiently correct or not.
regards,
- assaf
random-mingw.patch
Description: Text Data