mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
[BETA] GNU/Linux support
This commit is contained in:
parent
071805cddb
commit
4898f49c28
5 changed files with 117 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue