Paul Eggert wrote on 2020-05-31:
> * modules/tempname (Depends-on): Remove gettimeofday, sys_time.
> Add getentropy, libc-config.
On MSVC, this produces a link error in programs that use this module,
because of the function BCryptGenRandom. Such programs now need to link
with $(LIB_GETRANDOM).
Li
Also, merge in Gnulib’s more-recent methods of making it easier
to share between Gnulib and glibc, and fix a few randomness
glitches.
* lib/tempname.c: Include libc-config.h, not config.h, if !_LIBC.
(__set_errno): Remove; libc-config.h does that for us.
Do not include .
(__secure_getenv) [_LIBC]: