[BETA] GNU/Linux support

This commit is contained in:
wuggy 2026-04-16 16:14:49 -04:00
commit 4898f49c28
5 changed files with 117 additions and 4 deletions

View file

@ -132,7 +132,8 @@ uint32_t av_get_random_seed(void)
}
#endif
#if HAVE_ARC4RANDOM
/* Don’t use arc4random() on Linux – glibc doesn’t provide it */
#if HAVE_ARC4RANDOM && !defined(__linux__)
return arc4random();
#endif