gh-148461: Use arc4random_buf() in mimalloc on Cygwin (#148462)

See also issue #113141.
This commit is contained in:
Carlo Bramini 2026-05-13 21:09:24 +02:00 committed by GitHub
parent 94bca40ff0
commit fdf064ca81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -751,7 +751,7 @@ bool _mi_prim_random_buf(void* buf, size_t buf_len) {
#elif defined(__ANDROID__) || defined(__DragonFly__) || \
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
defined(__sun)
defined(__sun) || defined(__CYGWIN__)
#include <stdlib.h>
bool _mi_prim_random_buf(void* buf, size_t buf_len) {